diff options
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r-- | src/modules/m_check.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index 662e512f9..69389000b 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -102,14 +102,14 @@ class CommandCheck : public Command if (loctarg) user->SendText(checkstr + " lastmsg " + timestring(loctarg->idle_lastmsg)); - if (IS_AWAY(targuser)) + if (targuser->IsAway()) { /* user is away */ user->SendText(checkstr + " awaytime " + timestring(targuser->awaytime)); user->SendText(checkstr + " awaymsg " + targuser->awaymsg); } - if (IS_OPER(targuser)) + if (targuser->IsOper()) { OperInfo* oper = targuser->oper; /* user is an oper of type ____ */ |