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"