diff options
Diffstat (limited to 'ksirc/baserules.cpp')
-rw-r--r-- | ksirc/baserules.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ksirc/baserules.cpp b/ksirc/baserules.cpp index df4a40cc..9ea568f3 100644 --- a/ksirc/baserules.cpp +++ b/ksirc/baserules.cpp @@ -121,7 +121,7 @@ filterRuleList *KSMBaseRules::defaultRules() snprintf(msg1_match, 100, "(?i)<\\S+>.*\\s%s(,.*|\02:.*|:.*|\\s.*|$)", msg.latin1()); snprintf(msg1_to, 100, - "$1~%s", ksopts->msg1Contain.name().latin1());//, ksopts->ownNickColor); + "$1~%s", TQString(ksopts->msg1Contain.name()).latin1());//, ksopts->ownNickColor); fr = new filterRule(); fr->desc = "Highlight our msg1"; fr->search = msg1_match; @@ -145,7 +145,7 @@ filterRuleList *KSMBaseRules::defaultRules() snprintf(msg2_match, 100, "(?i)<\\S+>.*\\s%s(,.*|\02:.*|:.*|\\s.*|$)", msg.latin1()); snprintf(msg2_to, 100, - "$1~%s", ksopts->msg2Contain.name().latin1());//, ksopts->ownNickColor); + "$1~%s", TQString(ksopts->msg2Contain.name()).latin1());//, ksopts->ownNickColor); fr = new filterRule(); fr->desc = "Highlight our msg2"; fr->search = msg2_match; |