diff options
| author | Alexander Barton <alex@barton.de> | 2012-10-06 17:21:32 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2012-10-06 17:21:32 +0200 |
| commit | c66e20ce6e1b6fd333fc6fe13953178547470c44 (patch) | |
| tree | 00b79bded0f9217fb3ffb235bbc0037a9d099f79 | |
| parent | 114644cdb0a54804e4f68818235cc2d99b90322c (diff) | |
| download | ngircd-c66e20ce6e1b6fd333fc6fe13953178547470c44.tar.gz ngircd-c66e20ce6e1b6fd333fc6fe13953178547470c44.zip | |
Fix spelling: ERR_CHANOPPRIVTOLOW_MSG -> ERR_CHANOPPRIVTOOLOW_MSG
Thanks to DNS for pointing this out, see bug #126!
| -rw-r--r-- | src/ngircd/channel.c | 2 | ||||
| -rw-r--r-- | src/ngircd/messages.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/channel.c b/src/ngircd/channel.c index 59fe0022..10b05405 100644 --- a/src/ngircd/channel.c +++ b/src/ngircd/channel.c @@ -364,7 +364,7 @@ Channel_Kick(CLIENT *Peer, CLIENT *Target, CLIENT *Origin, const char *Name, } if(!can_kick) { - IRC_WriteStrClient(Origin, ERR_CHANOPPRIVTOLOW_MSG, + IRC_WriteStrClient(Origin, ERR_CHANOPPRIVTOOLOW_MSG, Client_ID(Origin), Name); return; } diff --git a/src/ngircd/messages.h b/src/ngircd/messages.h index b40f0fc6..efc7524e 100644 --- a/src/ngircd/messages.h +++ b/src/ngircd/messages.h @@ -139,7 +139,7 @@ #define ERR_LISTFULL_MSG "478 %s %s %s: Channel list is full (%d)" #define ERR_NOPRIVILEGES_MSG "481 %s :Permission denied" #define ERR_CHANOPRIVSNEEDED_MSG "482 %s %s :You are not channel operator" -#define ERR_CHANOPPRIVTOLOW_MSG "482 %s %s :Your privileges are to low" +#define ERR_CHANOPPRIVTOOLOW_MSG "482 %s %s :Your privileges are too low" #define ERR_CANTKILLSERVER_MSG "483 %s :You can't kill a server!" #define ERR_RESTRICTED_MSG "484 %s :Your connection is restricted" #define ERR_NICKREGISTER_MSG "484 %s :Cannot modify user mode (+R) -- Use IRC services" |