From 866cfdb91e85fe7350814524a40eeece01402ab1 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 15 Dec 2005 13:53:52 +0000 Subject: Removed code weirdness in handle_invite git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2473 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index da88413ab..e2c4cad89 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -390,9 +390,7 @@ void handle_invite(char **parameters, int pcnt, userrec *user) InvitedList* il = user->GetInviteList(); for (InvitedList::iterator i = il->begin(); i != il->end(); i++) { - if (i->channel) { - WriteServ(user->fd,"346 %s :%s",user->nick,i->channel.c_str()); - } + WriteServ(user->fd,"346 %s :%s",user->nick,i->channel.c_str()); } WriteServ(user->fd,"347 %s :End of INVITE list",user->nick); } -- cgit v1.2.3