From b05c15983a4331d7ea1faa190fdc95a028ba2223 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 13 Dec 2005 16:31:52 +0000 Subject: Modified channel joining to allow > MAXCHANS for opers/remote (when complete) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2368 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index 6fe978514..7cdc534a2 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -958,7 +958,7 @@ void handle_who(char **parameters, int pcnt, userrec *user) { if ((!strcmp(parameters[0],"0")) || (!strcmp(parameters[0],"*"))) { - if ((user->chans.size()) (user->chans[0].channel)) + if ((user->chans.size()) && (user->chans[0].channel)) { int n_list = 0; for (user_hash::const_iterator i = clientlist.begin(); i != clientlist.end(); i++) -- cgit v1.3.1-10-gc9f91