From ec2106579c77a98dfdb209864a1e1b5ae1f07e7f Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 12 May 2007 20:49:13 +0000 Subject: The commit that should have been r7000: src/modules now uses IS_OPER instead of not so tidy char equivilant git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7001 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_userip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_userip.cpp') diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp index 86b3cd02e..9c0aa12a8 100644 --- a/src/modules/m_userip.cpp +++ b/src/modules/m_userip.cpp @@ -40,7 +40,7 @@ class cmd_userip : public command_t userrec *u = ServerInstance->FindNick(parameters[i]); if ((u) && (u->registered == REG_ALL)) { - snprintf(junk,MAXBUF,"%s%s=+%s@%s ",u->nick,*u->oper ? "*" : "",u->ident,u->GetIPString()); + snprintf(junk,MAXBUF,"%s%s=+%s@%s ",u->nick,IS_OPER(u) ? "*" : "",u->ident,u->GetIPString()); strlcat(Return,junk,MAXBUF); } } -- cgit v1.2.3