summaryrefslogtreecommitdiff
path: root/src/modules/m_servprotect.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-19 00:22:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-19 00:22:58 +0000
commit89a8dff5f6853794364bc06ec04d05c6d988e4e2 (patch)
tree891a2bcb2b0fbd0f9200a806920fe76b40661717 /src/modules/m_servprotect.cpp
parent8cb8131110c194b4c10a64215dd6a4c5e54d2bc9 (diff)
These done
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9758 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_servprotect.cpp')
-rw-r--r--src/modules/m_servprotect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_servprotect.cpp b/src/modules/m_servprotect.cpp
index 1dbb9384f..d79e40bef 100644
--- a/src/modules/m_servprotect.cpp
+++ b/src/modules/m_servprotect.cpp
@@ -79,7 +79,7 @@ class ModuleServProtectMode : public Module
if (dst->IsModeSet('k'))
{
- src->WriteNumeric(485, "%s :You are not allowed to kill %s Services!", src->nick, ServerInstance->Config->Network);
+ src->WriteNumeric(485, "%s :You are not allowed to kill %s Services!", src->nick.c_str(), ServerInstance->Config->Network);
ServerInstance->SNO->WriteToSnoMask('A', std::string(src->nick)+" tried to kill service "+dst->nick+" ("+reason+")");
return 1;
}