* Bug 14245 - Bot flag not shown on RC IRC posts
authorDanny B <danny_b@users.mediawiki.org>
Sat, 24 May 2008 01:04:32 +0000 (01:04 +0000)
committerDanny B <danny_b@users.mediawiki.org>
Sat, 24 May 2008 01:04:32 +0000 (01:04 +0000)
* switching the M & N flags order

includes/RecentChange.php

index 4b13b12..f2e49d4 100644 (file)
@@ -606,7 +606,7 @@ class RecentChange
                        $flag = $rc_log_action;
                } else {
                        $comment = $this->cleanupForIRC( $rc_comment );
-                       $flag = ($rc_minor ? "M" : "") . ($rc_new ? "N" : "");
+                       $flag = ($rc_new ? "N" : "") . ($rc_minor ? "M" : "") . ($rc_bot ? "B" : "");
                }
                # see http://www.irssi.org/documentation/formats for some colour codes. prefix is \003,
                # no colour (\003) switches back to the term default