From ca0083cba90c8830f5018b73eb715665a8db9dd7 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Tue, 9 Apr 2013 19:12:09 +0200 Subject: Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper() --- src/modules/m_userip.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_userip.cpp') diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp index 57e6eaaad..0a91a1b6e 100644 --- a/src/modules/m_userip.cpp +++ b/src/modules/m_userip.cpp @@ -43,8 +43,8 @@ class CommandUserip : public Command User *u = ServerInstance->FindNick(parameters[i]); if ((u) && (u->registered == REG_ALL)) { - retbuf = retbuf + u->nick + (IS_OPER(u) ? "*" : "") + "="; - if (IS_AWAY(u)) + retbuf = retbuf + u->nick + (u->IsOper() ? "*" : "") + "="; + if (u->IsAway()) retbuf += "-"; else retbuf += "+"; -- cgit v1.3.1-10-gc9f91