summaryrefslogtreecommitdiff
path: root/src/modules/m_nicklock.cpp
diff options
context:
space:
mode:
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;
}