From 268e6a408792045abf729214f40abd250250f3f0 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 8 Apr 2004 01:21:56 +0000 Subject: Damn typos git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@445 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_sajoin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_sajoin.cpp') 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; -- cgit v1.2.3