From: Alexander Barton Date: Sat, 6 Oct 2012 15:21:32 +0000 (+0200) Subject: Fix spelling: ERR_CHANOPPRIVTOLOW_MSG -> ERR_CHANOPPRIVTOOLOW_MSG X-Git-Tag: rel-20-rc1~53 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=c66e20ce6e1b6fd333fc6fe13953178547470c44 Fix spelling: ERR_CHANOPPRIVTOLOW_MSG -> ERR_CHANOPPRIVTOOLOW_MSG Thanks to DNS for pointing this out, see bug #126! --- 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"