diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-08 15:05:49 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-08 15:05:49 +0000 |
commit | 8d99003c221b7d6dcc04d0fc58629c243b48dbf0 (patch) | |
tree | 1412b12337da066d69cea9529dfefef7234c4062 /src/helperfuncs.cpp | |
parent | 8c4528880ab1dfe6307b03d5976e23e1a553a663 (diff) |
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
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r-- | src/helperfuncs.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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(); } |