summaryrefslogtreecommitdiff
path: root/src/modules/m_samode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_samode.cpp')
-rw-r--r--src/modules/m_samode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_samode.cpp b/src/modules/m_samode.cpp
index f034d5b43..77d9a756d 100644
--- a/src/modules/m_samode.cpp
+++ b/src/modules/m_samode.cpp
@@ -55,12 +55,12 @@ class cmd_samode : public command_t
* Handles an SAMODE request. Notifies all +s users.
*/
std::string result;
- log(DEBUG,"SAMODE: Being handled");
+ ServerInstance->Log(DEBUG,"SAMODE: Being handled");
userrec* n = new userrec(ServerInstance);
n->fd = FD_MAGIC_NUMBER;
ServerInstance->SendMode(parameters,pcnt,n);
delete n;
- log(DEBUG,"SAMODE: Modechange handled");
+ ServerInstance->Log(DEBUG,"SAMODE: Modechange handled");
result = std::string(user->nick);
result.append(" used SAMODE");
for (int n = 0; n < pcnt; n++)