Changeset 2079 for trunk/modules/kobot
- Timestamp:
- 02/19/2008 02:06:24 AM (9 months ago)
- Files:
-
- 1 modified
-
trunk/modules/kobot/libraries/Kobot.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/kobot/libraries/Kobot.php
r2068 r2079 324 324 list ($prefix, $str) = explode(' ', $raw, 2); 325 325 326 if ( ! empty($prefix) AND $prefix {0}=== ':')326 if ( ! empty($prefix) AND $prefix[0] === ':') 327 327 { 328 328 // A user-level command, like PRIVMSG or NOTICE … … 350 350 list ($data['target'], $data['message']) = explode(' :', $str, 2); 351 351 } 352 elseif ($str {0}=== ':')352 elseif ($str[0] === ':') 353 353 { 354 354 // :target, without a message
