mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 20:19:02 -04:00
Forgot return;s
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4182 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
5bbea4813d
commit
918de57ce1
@ -236,11 +236,13 @@ void ModeParser::DisplayCurrentModes(userrec *user, userrec* targetuser, chanrec
|
|||||||
/* Display channel's current mode string */
|
/* Display channel's current mode string */
|
||||||
WriteServ(user->fd,"324 %s %s +%s",user->nick, targetchannel->name, chanmodes(targetchannel, targetchannel->HasUser(user)));
|
WriteServ(user->fd,"324 %s %s +%s",user->nick, targetchannel->name, chanmodes(targetchannel, targetchannel->HasUser(user)));
|
||||||
WriteServ(user->fd,"329 %s %s %d", user->nick, targetchannel->name, targetchannel->created);
|
WriteServ(user->fd,"329 %s %s %d", user->nick, targetchannel->name, targetchannel->created);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
else if (targetuser)
|
else if (targetuser)
|
||||||
{
|
{
|
||||||
/* Display user's current mode string */
|
/* Display user's current mode string */
|
||||||
WriteServ(user->fd,"221 %s :+%s",targetuser->nick,targetuser->FormatModes());
|
WriteServ(user->fd,"221 %s :+%s",targetuser->nick,targetuser->FormatModes());
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
/* No such nick/channel */
|
/* No such nick/channel */
|
||||||
WriteServ(user->fd,"401 %s %s :No such nick/channel",user->nick, text);
|
WriteServ(user->fd,"401 %s %s :No such nick/channel",user->nick, text);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user