From f5c3e3782bfeb3ffb634f86eadb8ffecbc36f176 Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 2 Jan 2008 22:58:47 +0000 Subject: Add param 'opername' to event OnPostOper. This will help make a (slightly nicer) version of dz's patch to allow modes in git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8615 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index e384bc748..f5395f3b3 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -647,7 +647,7 @@ const char* User::GetWriteError() return this->WriteError.c_str(); } -void User::Oper(const std::string &opertype) +void User::Oper(const std::string &opertype, const std::string &opername) { char* mycmd; char* savept; @@ -692,7 +692,7 @@ void User::Oper(const std::string &opertype) free(Classes); } - FOREACH_MOD(I_OnPostOper,OnPostOper(this, opertype)); + FOREACH_MOD(I_OnPostOper,OnPostOper(this, opertype, opername)); } catch (...) -- cgit v1.3.1-10-gc9f91