summaryrefslogtreecommitdiff
path: root/src/modules/m_chancreate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_chancreate.cpp')
-rw-r--r--src/modules/m_chancreate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chancreate.cpp b/src/modules/m_chancreate.cpp
index b1008d72c..d1e17497c 100644
--- a/src/modules/m_chancreate.cpp
+++ b/src/modules/m_chancreate.cpp
@@ -42,7 +42,7 @@ class ModuleChanCreate : public Module
{
if (channel->GetUserCounter() == 1)
{
- ServerInstance->SNO->WriteToSnoMask('j', "Channel %s created by %s!%s@%s", channel->name, user->nick, user->ident, user->host);
+ ServerInstance->SNO->WriteToSnoMask('j', "Channel %s created by %s!%s@%s", channel->name, user->nick.c_str(), user->ident.c_str(), user->host);
}
}
};