diff options
author | Adam <Adam@anope.org> | 2012-10-27 08:12:04 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-10-27 08:12:04 -0400 |
commit | d6e1b92059688c8b59df0eedccfb16781d193591 (patch) | |
tree | e61ace0908bae241ea4cac18331a99b441981dad /modules/extra/m_ldap_oper.cpp | |
parent | bb5f4555dce8bdfa7124db87c72a084c9d9416a1 (diff) |
Add a module log type
Diffstat (limited to 'modules/extra/m_ldap_oper.cpp')
-rw-r--r-- | modules/extra/m_ldap_oper.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/extra/m_ldap_oper.cpp b/modules/extra/m_ldap_oper.cpp index 4f1784553..53b3d4d43 100644 --- a/modules/extra/m_ldap_oper.cpp +++ b/modules/extra/m_ldap_oper.cpp @@ -50,7 +50,7 @@ class IdentifyInterface : public LDAPInterface o = new Oper(u->nick, ot); my_opers.insert(o); nc->o = o; - Log() << "m_ldap_oper: Tied " << u->nick << " (" << nc->display << ") to opertype " << ot->GetName(); + Log(this->owner) << "m_ldap_oper: Tied " << u->nick << " (" << nc->display << ") to opertype " << ot->GetName(); } } catch (const LDAPException &ex) @@ -64,7 +64,7 @@ class IdentifyInterface : public LDAPInterface } nc->o = NULL; - Log() << "m_ldap_oper: Removed services operator from " << u->nick << " (" << nc->display << ")"; + Log() << "Removed services operator from " << u->nick << " (" << nc->display << ")"; } } } @@ -127,7 +127,7 @@ class LDAPOper : public Module } catch (const LDAPException &ex) { - Log() << "m_ldapoper: " << ex.GetReason(); + Log() << ex.GetReason(); } } |