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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_samode.cpp b/src/modules/m_samode.cpp
index 6cf7a5fbc..67b30b3ec 100644
--- a/src/modules/m_samode.cpp
+++ b/src/modules/m_samode.cpp
@@ -55,7 +55,7 @@ class CommandSamode : public Command
}
else
{
- user->WriteServ("NOTICE %s :*** Invalid SAMODE sequence.", user->nick);
+ user->WriteServ("NOTICE %s :*** Invalid SAMODE sequence.", user->nick.c_str());
}
return CMD_FAILURE;