summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-29 21:43:34 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-29 21:43:34 +0000
commit3ba6fa6d7f81cc1c20a3ad4a7d2aa9521e9b36a8 (patch)
treeff08611cfb296239a377b1100168526882d69751 /src/modules/extra
parent4e0b300c989087428e78c624437c8c2596d0525a (diff)
Created OnPostOper that can be gauranteed to be called *after* opering (by ALL modules) is done
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2973 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_sqloper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp
index 14c373f28..aefc8528d 100644
--- a/src/modules/extra/m_sqloper.cpp
+++ b/src/modules/extra/m_sqloper.cpp
@@ -172,6 +172,7 @@ class ModuleSQLOper : public Module
WriteServ(user->fd,"MODE %s :+o",user->nick);
FOREACH_MOD(I_OnOper,OnOper(user,rowresult->GetField("type")));
AddOper(user);
+ FOREACH_MOD(I_OnPostOper,OnPostOper(user,rowresult->GetField("type")));
log(DEFAULT,"OPER: %s!%s@%s opered as type: %s",user->nick,user->ident,user->host,rowresult->GetField("type").c_str());
}
break;