From 6c3597ff80428e084e0a335a218fb591f18386f3 Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Thu, 18 Nov 2010 18:55:19 +0100 Subject: [PATCH] IRCConnection: Just a bracket fix --- application/src/org/yaaic/irc/IRCConnection.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/application/src/org/yaaic/irc/IRCConnection.java b/application/src/org/yaaic/irc/IRCConnection.java index ed27ba7..2f16738 100644 --- a/application/src/org/yaaic/irc/IRCConnection.java +++ b/application/src/org/yaaic/irc/IRCConnection.java @@ -1129,14 +1129,16 @@ public class IRCConnection extends PircBot * @param text The text to check for the nickname * @return true if nickname was found, otherwise false */ - public boolean isMentioned(String text) { + public boolean isMentioned(String text) + { return mNickMatch.matcher(text).find(); } /** * Update the nick matching pattern, should be called when the nickname changes. */ - private void updateNickMatchPattern() { - mNickMatch = Pattern.compile("(?:^|[\\s?!'´:;,.])"+Pattern.quote(getNick())+"(?:[\\s?!'´:;,.]|$)", Pattern.CASE_INSENSITIVE); + private void updateNickMatchPattern() + { + mNickMatch = Pattern.compile("(?:^|[\\s?!'�:;,.])"+Pattern.quote(getNick())+"(?:[\\s?!'�:;,.]|$)", Pattern.CASE_INSENSITIVE); } }