mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 12:09:03 -04:00
Last IS_AWAY fix. No more *u->awaymsg. :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7003 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
3dc2055bb0
commit
33008f95c7
@ -64,16 +64,19 @@ class cmd_check : public command_t
|
||||
user->WriteServ(checkstr + " modes +" + targuser->FormatModes());
|
||||
user->WriteServ(checkstr + " snomasks +" + targuser->FormatNoticeMasks());
|
||||
user->WriteServ(checkstr + " server " + targuser->server);
|
||||
if (targuser->awaymsg[0] != 0)
|
||||
|
||||
if (IS_AWAY(targuser))
|
||||
{
|
||||
/* user is away */
|
||||
user->WriteServ(checkstr + " awaymsg " + targuser->awaymsg);
|
||||
}
|
||||
|
||||
if (IS_OPER(targuser))
|
||||
{
|
||||
/* user is an oper of type ____ */
|
||||
user->WriteServ(checkstr + " opertype " + irc::Spacify(targuser->oper));
|
||||
}
|
||||
|
||||
if (IS_LOCAL(targuser))
|
||||
{
|
||||
/* port information is only held for a local user! */
|
||||
|
Loading…
x
Reference in New Issue
Block a user