diff options
Diffstat (limited to 'src/modules/m_lockserv.cpp')
-rw-r--r-- | src/modules/m_lockserv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_lockserv.cpp b/src/modules/m_lockserv.cpp index 78c15dead..fa5fc3a3f 100644 --- a/src/modules/m_lockserv.cpp +++ b/src/modules/m_lockserv.cpp @@ -33,7 +33,7 @@ public: CmdResult Handle (const std::vector<std::string> ¶meters, User *user) { locked = true; - user->WriteNumeric(988, "%s %s :Closed for new connections", user->nick.c_str(), user->server); + user->WriteNumeric(988, "%s %s :Closed for new connections", user->nick.c_str(), user->server.c_str()); ServerInstance->SNO->WriteGlobalSno('a', "Oper %s used LOCKSERV to temporarily close for new connections", user->nick.c_str()); /* Dont send to the network */ return CMD_SUCCESS; @@ -54,7 +54,7 @@ public: CmdResult Handle (const std::vector<std::string> ¶meters, User *user) { locked = false; - user->WriteNumeric(989, "%s %s :Open for new connections", user->nick.c_str(), user->server); + user->WriteNumeric(989, "%s %s :Open for new connections", user->nick.c_str(), user->server.c_str()); ServerInstance->SNO->WriteGlobalSno('a', "Oper %s used UNLOCKSERV to allow for new connections", user->nick.c_str()); /* Dont send to the network */ return CMD_SUCCESS; |