Commit Diff


commit - 114644cdb0a54804e4f68818235cc2d99b90322c
commit + c66e20ce6e1b6fd333fc6fe13953178547470c44
blob - 59fe00229576d018900a600c548925fd4d9668cb
blob + 10b05405b5ad50b0ebb464d1c9ce5139fc4d12ae
--- src/ngircd/channel.c
+++ src/ngircd/channel.c
@@ -364,7 +364,7 @@ Channel_Kick(CLIENT *Peer, CLIENT *Target, CLIENT *Ori
 		}
 
 		if(!can_kick) {
-			IRC_WriteStrClient(Origin, ERR_CHANOPPRIVTOLOW_MSG,
+			IRC_WriteStrClient(Origin, ERR_CHANOPPRIVTOOLOW_MSG,
 				Client_ID(Origin), Name);
 			return;
 		}
blob - b40f0fc6f9ea525fe24678a5350866116a962b93
blob + efc7524e11d35b22479c3726ac700844abd798f5
--- src/ngircd/messages.h
+++ 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"