diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-08 01:21:56 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-08 01:21:56 +0000 |
commit | 268e6a408792045abf729214f40abd250250f3f0 (patch) | |
tree | b41fee58501255feac85961319c5bc36810194ad | |
parent | e909e1a3ca2995bab67d7a64d38ec937265c94fa (diff) |
Damn typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@445 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/inspircd.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_sajoin.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_sapart.cpp | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index d4095132b..983f10a06 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2988,7 +2988,7 @@ int loop_call(handlerfunc fn, char **parameters, int pcnt, userrec *u, int start param = plist+i+1; if (j>20) { - WriteServ(user->fd,"407 %s :Too many targets in list, message not delivered.",blog[j-1]); + WriteServ(u->fd,"407 %s %s :Too many targets in list, message not delivered.",u->nick,blog[j-1]); return 1; } } diff --git a/src/modules/m_sajoin.cpp b/src/modules/m_sajoin.cpp index e687e474d..deea7abd4 100644 --- a/src/modules/m_sajoin.cpp +++ b/src/modules/m_sajoin.cpp @@ -16,9 +16,9 @@ void handle_sajoin(char **parameters, int pcnt, userrec *user) if (dest) { - for (int x = 0; x < strlen(parameters[0]); x++) + for (int x = 0; x < strlen(parameters[1]); x++) { - if ((parameters[0][0] != '#') || (parameters[0][x] == ' ') || (parameters[0][x]> ',')) + if ((parameters[1][0] != '#') || (parameters[1][x] == ' ') || (parameters[1][x] == ',')) { Srv->SendTo(NULL,user,"NOTICE "+std::string(user->nick)+" :*** Invalid characters in channel name"); return; diff --git a/src/modules/m_sapart.cpp b/src/modules/m_sapart.cpp index fdbbcc102..177a77d9b 100644 --- a/src/modules/m_sapart.cpp +++ b/src/modules/m_sapart.cpp @@ -15,9 +15,9 @@ void handle_sapart(char **parameters, int pcnt, userrec *user) userrec* dest = Srv->FindNick(std::string(parameters[0])); if (dest) { - for (int x = 0; x < strlen(parameters[0]); x++) + for (int x = 0; x < strlen(parameters[1]); x++) { - if ((parameters[0][0] != '#') || (parameters[0][x] == ' ') || (parameters[0][x]> ',')) + if ((parameters[1][0] != '#') || (parameters[1][x] == ' ') || (parameters[1][x] == ',')) { Srv->SendTo(NULL,user,"NOTICE "+std::string(user->nick)+" :*** Invalid characters in channel name"); return; |