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 --- include/modules.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/modules.h') diff --git a/include/modules.h b/include/modules.h index e40b1d31b..5529862f4 100644 --- a/include/modules.h +++ b/include/modules.h @@ -588,9 +588,10 @@ class CoreExport Module : public Extensible * can be gauranteed to already have processed the oper-up, for example m_spanningtree has sent * out the OPERTYPE, etc. * @param user The user who is opering up + * @param opername The name of the oper that the user is opering up to. Only valid locally. Empty string otherwise. * @param opertype The opers type name */ - virtual void OnPostOper(User* user, const std::string &opertype); + virtual void OnPostOper(User* user, const std::string &opername, const std::string &opertype); /** Called whenever a user types /INFO. * The User will contain the information of the user who typed the command. Modules may use this -- cgit v1.3.1-10-gc9f91