summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/irclib.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-11-26 20:15:05 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-11-26 20:15:05 +0300
commite4c501febbf9460ec24f90efb479deb5e68a2494 (patch)
treefd10ba01480f248fd10d4d8aff8df10577631852 /protocols/IRCG/src/irclib.cpp
parentd5960ef7a6e6764fd33e473ecd12a819e172dcef (diff)
crash fix for IRC kick/makeop commands
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);