Index: bot_agotchi/bot_agotchi.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/bot/bot_agotchi/bot_agotchi.module,v
retrieving revision 1.4
diff -u -r1.4 bot_agotchi.module
--- bot_agotchi/bot_agotchi.module	18 Nov 2006 03:32:24 -0000	1.4
+++ bot_agotchi/bot_agotchi.module	11 Apr 2008 21:55:57 -0000
@@ -55,7 +55,7 @@
 function bot_agotchi_irc_msg_channel($data, $from_query) {
   $substitutions = array('!who' => $data->nick, '!channel' => $data->channel);
   $bot_name = variable_get('bot_nickname', 'bot_module');
-  $addressed = "$bot_name:? ?"; // bot name prefixed.
+  $addressed = "\s*${bot_name}\s*[:,-]\s*"; // bot mentioned?
   $to = $from_query ? $data->nick : $data->channel;
 
   // feeding makes the bot's tumbly less rumbly.
