summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/users.cpp b/src/users.cpp
index e404d9107..cf3d4aa86 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1585,17 +1585,7 @@ void userrec::WriteWallOps(const std::string &text)
if (!IS_OPER(this) && IS_LOCAL(this))
return;
- std::string wallop = "WALLOPS :";
-
- try
- {
- wallop.append(text);
- }
- catch (...)
- {
- ServerInstance->Log(DEBUG,"Exception in userrec::Write() std::string::append");
- return;
- }
+ std::string wallop = "WALLOPS :" + text;
for (std::vector<userrec*>::const_iterator i = ServerInstance->local_users.begin(); i != ServerInstance->local_users.end(); i++)
{