r6913 - dumbhippo/trunk/imbot/src/java/com/dumbhippo/aimbot



Author: walters
Date: 2007-11-14 16:33:31 -0600 (Wed, 14 Nov 2007)
New Revision: 6913

Modified:
   dumbhippo/trunk/imbot/src/java/com/dumbhippo/aimbot/Bot.java
Log:
Correct limit phrase match.



Modified: dumbhippo/trunk/imbot/src/java/com/dumbhippo/aimbot/Bot.java
===================================================================
--- dumbhippo/trunk/imbot/src/java/com/dumbhippo/aimbot/Bot.java	2007-11-14 20:21:58 UTC (rev 6912)
+++ dumbhippo/trunk/imbot/src/java/com/dumbhippo/aimbot/Bot.java	2007-11-14 22:33:31 UTC (rev 6913)
@@ -178,7 +178,7 @@
 			// respond to a user, the AIM software will send us a message seemingly from the
 			// user about the limit, which we then reply to, ad infinitum.  Just drop those
 			// messages here.
-			String[] badPhrases = {"over limit"};
+			String[] badPhrases = {"over your daily limit"};
 			for (String phrase: badPhrases) {
 				if (messageHtml.indexOf(phrase) >= 0) {
 					logger.debug("found bad phrase in message, dropping");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]