Module: ngircd.git Branch: master Commit: c66e20ce6e1b6fd333fc6fe13953178547470c44 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=c66e2...
Author: Alexander Barton alex@barton.de Date: Sat Oct 6 17:21:32 2012 +0200
Fix spelling: ERR_CHANOPPRIVTOLOW_MSG -> ERR_CHANOPPRIVTOOLOW_MSG
Thanks to DNS for pointing this out, see bug #126!
---
src/ngircd/channel.c | 2 +- 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 59fe002..10b0540 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 b40f0fc..efc7524 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"
ngircd-commits@lists.barton.de