summaryrefslogtreecommitdiffstats
path: root/src/kvilib/irc/kvi_nickserv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvilib/irc/kvi_nickserv.cpp')
-rw-r--r--src/kvilib/irc/kvi_nickserv.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/kvilib/irc/kvi_nickserv.cpp b/src/kvilib/irc/kvi_nickserv.cpp
index 24a50e96..240ac515 100644
--- a/src/kvilib/irc/kvi_nickserv.cpp
+++ b/src/kvilib/irc/kvi_nickserv.cpp
@@ -203,19 +203,11 @@ KviNickServRule * KviNickServRuleSet::matchRule(const TQString &szNick,const Kvi
if(!KviTQString::matchStringCI(r->registeredNick(),szNick,false,true)) continue;
if(!szServer.isEmpty())
{
-#ifdef COMPILE_USE_QT4
- TQRegExp res(r->serverMask(),TQt::CaseInsensitive,TQRegExp::Wildcard);
-#else
TQRegExp res(r->serverMask(),false,true);
-#endif
if(!res.exactMatch(szServer))continue;
}
if(!nickServ->matchedBy(KviIrcMask(r->nickServMask())))continue;
-#ifdef COMPILE_USE_QT4
- TQRegExp re(r->messageRegexp(),TQt::CaseInsensitive,TQRegExp::Wildcard);
-#else
TQRegExp re(r->messageRegexp(),false,true);
-#endif
if(re.exactMatch(szMsg))return r;
}
return 0;