]> git.99rst.org Git - irssi-scripts.irssi.org.git/commitdiff
anames.pl: Drop re-registration of WHO (#456)
authorailin-nemui <redacted>
Fri, 5 Jan 2018 12:56:55 +0000 (13:56 +0100)
committerGitHub <redacted>
Fri, 5 Jan 2018 12:56:55 +0000 (13:56 +0100)
* Update anames.pl

Drop re-registration of WHO.

scripts/anames.pl

index b3af5647442f49158ecbcb5f5c15ae5c762a02fe..b5171c38891f1e519d57b60dc38049291bb4218b 100644 (file)
@@ -23,6 +23,9 @@
 # Thanks to Dirm and Chris62vw for the Perl help and coekie for writing the
 # evil code to sort the nicklist by the alphabet and rank in nicklist.pl
 #
+# 1.8   - Drop re-registration of WHO, since unnecessary and incomplete,
+#         breaking WHO generally and for other scripts (krytarik)
+#
 # 1.7   - Improved nick prefix sorting (tslocum)
 #
 # 1.6   - optional support for unicode nicknames, realnames script,
@@ -62,7 +65,7 @@ use List::Util qw(min max);
 
 use vars qw($VERSION %IRSSI);
 
-$VERSION = '1.7';
+$VERSION = '1.8';
 %IRSSI = (
   authors     => 'Matt "f0rked" Sparks, Miklos Vajna',
   contact     => 'ms+irssi@quadpoint.org',
@@ -437,10 +440,6 @@ sub who_reply_end
 }
 
 
-Irssi::Irc::Server::redirect_register("who", 0, 0,
-                                      {"event 352" => 1},
-                                      {"event 315" => 1},
-                                      undef);
 Irssi::signal_register({'chanquery who end' => [qw[iobject string]]});
 Irssi::signal_add("redir who_reply", 'who_reply');
 Irssi::signal_add("redir who_reply_end", 'who_reply_end');
git clone https://git.99rst.org/PROJECT