summaryrefslogtreecommitdiff
path: root/src/modules/m_jumpserver.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-09 12:32:34 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-09 12:32:34 +0000
commit52acbb466b84a1cd161b1c111f855d6f0419fff3 (patch)
tree75c047fe70b522a23699f9b2d74c868822850f3f /src/modules/m_jumpserver.cpp
parent0161215f42ccbfe45d1aef626f830d39486ef699 (diff)
A ton more clear() and empty() stuff thats been lingering on the long term todo for too long a term :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7264 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_jumpserver.cpp')
-rw-r--r--src/modules/m_jumpserver.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modules/m_jumpserver.cpp b/src/modules/m_jumpserver.cpp
index d936c4f82..c4c58bde5 100644
--- a/src/modules/m_jumpserver.cpp
+++ b/src/modules/m_jumpserver.cpp
@@ -34,7 +34,8 @@ class cmd_jumpserver : public command_t
{
this->source = "m_jumpserver.so";
syntax = "[<server> <port> <+/-a> :<reason>]";
- redirect_to = reason = "";
+ redirect_to.clear();
+ reason.clear();
port = 0;
redirect_all_immediately = redirect_new_users = false;
}
@@ -57,12 +58,12 @@ class cmd_jumpserver : public command_t
user->WriteServ("NOTICE %s :*** jumpserver was not enabled.", user->nick);
port = 0;
- redirect_to = "";
+ redirect_to.clear();
return CMD_LOCALONLY;
}
port = 0;
- redirect_to = "";
+ redirect_to.clear();
for (const char* n = parameters[2]; *n; n++)
{