diff options
| author | 2008-05-19 00:13:05 +0000 | |
|---|---|---|
| committer | 2008-05-19 00:13:05 +0000 | |
| commit | 52ba3b6df7d2a67076c0ce8cd479d5d5884064ad (patch) | |
| tree | ecbeee48f24bc8e98cc3d9cc70b0c851b5ee476d /src/modules/m_lockserv.cpp | |
| parent | Fix these too (diff) | |
| download | inspircd++-52ba3b6df7d2a67076c0ce8cd479d5d5884064ad.tar.gz inspircd++-52ba3b6df7d2a67076c0ce8cd479d5d5884064ad.tar.bz2 inspircd++-52ba3b6df7d2a67076c0ce8cd479d5d5884064ad.zip | |
Fix this one
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9755 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_lockserv.cpp')
| -rw-r--r-- | src/modules/m_lockserv.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_lockserv.cpp b/src/modules/m_lockserv.cpp index 872678502..203f030ca 100644 --- a/src/modules/m_lockserv.cpp +++ b/src/modules/m_lockserv.cpp @@ -37,8 +37,8 @@ public: CmdResult Handle (const std::vector<std::string> ¶meters, User *user) { locked = true; - user->WriteNumeric(988, "%s %s :Closed for new connections", user->nick, user->server); - ServerInstance->SNO->WriteToSnoMask('A', "Oper %s used LOCKSERV to temporarily close for new connections", user->nick); + user->WriteNumeric(988, "%s %s :Closed for new connections", user->nick.c_str(), user->server); + ServerInstance->SNO->WriteToSnoMask('A', "Oper %s used LOCKSERV to temporarily close for new connections", user->nick.c_str()); /* Dont send to the network */ return CMD_LOCALONLY; } @@ -60,8 +60,8 @@ public: CmdResult Handle (const std::vector<std::string> ¶meters, User *user) { locked = false; - user->WriteNumeric(989, "%s %s :Open for new connections", user->nick, user->server); - ServerInstance->SNO->WriteToSnoMask('A', "Oper %s used UNLOCKSERV to allow for new connections", user->nick); + user->WriteNumeric(989, "%s %s :Open for new connections", user->nick.c_str(), user->server); + ServerInstance->SNO->WriteToSnoMask('A', "Oper %s used UNLOCKSERV to allow for new connections", user->nick.c_str()); /* Dont send to the network */ return CMD_LOCALONLY; } |
