]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Fix spelling: ERR_CHANOPPRIVTOLOW_MSG -> ERR_CHANOPPRIVTOOLOW_MSG
authorAlexander Barton <alex@barton.de>
Sat, 6 Oct 2012 15:21:32 +0000 (17:21 +0200)
committerAlexander Barton <alex@barton.de>
Sat, 6 Oct 2012 15:21:32 +0000 (17:21 +0200)
Thanks to DNS for pointing this out, see bug #126!

src/ngircd/channel.c
src/ngircd/messages.h

index 59fe00229576d018900a600c548925fd4d9668cb..10b05405b5ad50b0ebb464d1c9ce5139fc4d12ae 100644 (file)
@@ -364,7 +364,7 @@ Channel_Kick(CLIENT *Peer, CLIENT *Target, CLIENT *Origin, const char *Name,
                }
 
                if(!can_kick) {
                }
 
                if(!can_kick) {
-                       IRC_WriteStrClient(Origin, ERR_CHANOPPRIVTOLOW_MSG,
+                       IRC_WriteStrClient(Origin, ERR_CHANOPPRIVTOOLOW_MSG,
                                Client_ID(Origin), Name);
                        return;
                }
                                Client_ID(Origin), Name);
                        return;
                }
index b40f0fc6f9ea525fe24678a5350866116a962b93..efc7524e11d35b22479c3726ac700844abd798f5 100644 (file)
 #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_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"
 #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"