summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-12 17:58:59 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-12 17:58:59 +0000
commit82fc993800255de6e11a3b739e064d639240903c (patch)
treea75293a7b235e5258db21a58d77b470f4bc9ce7b /src/users.cpp
parente6fa614ad27cd68aa61605ca0884eee9c44384eb (diff)
This catch doesn't need to be here. :o
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6991 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-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++)
{