From 8d99003c221b7d6dcc04d0fc58629c243b48dbf0 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 8 Aug 2006 15:05:49 +0000 Subject: AddOper() and DeleteOper() -> userrec::Oper() and userrec::UnOper() (these do more, too) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4792 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/helperfuncs.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/helperfuncs.cpp') diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index e7ecb56a1..495a4658b 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -1001,8 +1001,7 @@ void purge_empty_chans(userrec* u) } } - if (*u->oper) - DeleteOper(u); + u->UnOper(); } -- cgit v1.2.3