diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-15 13:53:52 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-15 13:53:52 +0000 |
commit | 866cfdb91e85fe7350814524a40eeece01402ab1 (patch) | |
tree | 97e1898e9cd7b46be1f0015401d43c3a2237d9eb /src | |
parent | 8bac88198c81d92b19b41e8f3b314464af7873c8 (diff) |
Removed code weirdness in handle_invite
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2473 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/commands.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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); } |