summaryrefslogtreecommitdiff
path: root/src/modules/m_nicklock.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-11 18:09:22 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-11 18:09:22 +0000
commit9c3a20c15123c4812c236f33418c1fdfe74c3ff2 (patch)
treea498a0ef72af84819c7dff00d5b8a2c61d841f24 /src/modules/m_nicklock.cpp
parente1f34688d6326a7b60d8044f8bfe8bbaeb464602 (diff)
Last commit of that batch: Fix some returncodes (some stuff here really didn't need to be routed), clarify a few in comments, and also add some todos for myself next.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6978 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_nicklock.cpp')
-rw-r--r--src/modules/m_nicklock.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp
index 509b565ca..519aabe13 100644
--- a/src/modules/m_nicklock.cpp
+++ b/src/modules/m_nicklock.cpp
@@ -41,6 +41,7 @@ class cmd_nicklock : public command_t
irc::string server;
irc::string me;
+ /* XXX - these ifs look damn ugly, note to myself to fix them -- w00t */
if (source)
{
if (source->GetExt("nick_locked", dummy))
@@ -59,6 +60,7 @@ class cmd_nicklock : public command_t
}
source->Extend("nick_locked", "ON");
+ /* route */
return CMD_SUCCESS;
}