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 /src/modules | |
parent | e909e1a3ca2995bab67d7a64d38ec937265c94fa (diff) |
Damn typos
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@445 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_sajoin.cpp | 4 | ||||
-rw-r--r-- | src/modules/m_sapart.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
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; |