diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-12 17:58:59 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-12 17:58:59 +0000 |
commit | 82fc993800255de6e11a3b739e064d639240903c (patch) | |
tree | a75293a7b235e5258db21a58d77b470f4bc9ce7b /src | |
parent | e6fa614ad27cd68aa61605ca0884eee9c44384eb (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')
-rw-r--r-- | src/users.cpp | 12 |
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++) { |