summaryrefslogtreecommitdiff
path: root/src/modules/m_jumpserver.cpp
diff options
context:
space:
mode:
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++)
{