summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/irclib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IRCG/src/irclib.cpp')
-rw-r--r--protocols/IRCG/src/irclib.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/protocols/IRCG/src/irclib.cpp b/protocols/IRCG/src/irclib.cpp
index 36c9f09f40..d59717900a 100644
--- a/protocols/IRCG/src/irclib.cpp
+++ b/protocols/IRCG/src/irclib.cpp
@@ -658,14 +658,8 @@ void CIrcProto::OnIrcMessage(const CIrcMessage* pmsg)
if (pfn) {
// call member function. if it returns 'false',
// call the default handling
- __try {
- if (!(this->*pfn)(pmsg))
- OnIrcDefault(pmsg);
- }
- __except (EXCEPTION_EXECUTE_HANDLER) // dedicated to Sava :)
- {
- debugLogA("IRC handler feels sick: %S", pmsg->sCommand.c_str());
- }
+ if (!(this->*pfn)(pmsg))
+ OnIrcDefault(pmsg);
}
else // handler not found. call default handler
OnIrcDefault(pmsg);