summaryrefslogtreecommitdiff
path: root/src/modules/m_nicklock.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-02 18:58:02 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-05-02 18:58:02 +0000
commitd65c7380f1023d4d0ebc044365bb1aad16c698a3 (patch)
tree47e50917091cad0902546cc23342007be3a37514 /src/modules/m_nicklock.cpp
parent78450ee0247cf24539ef4e1194829736c2de83cf (diff)
Fix two stupid mistakes here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11350 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_nicklock.cpp')
-rw-r--r--src/modules/m_nicklock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp
index b855c6ac2..fcb82275e 100644
--- a/src/modules/m_nicklock.cpp
+++ b/src/modules/m_nicklock.cpp
@@ -59,7 +59,7 @@ class CommandNicklock : public Command
return CMD_FAILURE;
}
- user->WriteServ("947 %s %s :Nickname now locked.", user->nick, source->nick");
+ user->WriteServ("947 %s %s :Nickname now locked.", user->nick.c_str(), parameters[1].c_str());
}
/* If we made it this far, extend the user */