File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -265,6 +265,12 @@ var handlers = {
265265 cache . special = command . params [ command . params . length - 1 ] ;
266266 } ,
267267
268+ RPL_WHOISCOUNTRY : function ( command ) {
269+ var cache_key = command . params [ 1 ] . toLowerCase ( ) ;
270+ var cache = this . cache ( 'whois.' + cache_key ) ;
271+ cache . country = command . params [ command . params . length - 1 ] ;
272+ } ,
273+
268274 RPL_WHOISACTUALLY : function ( command ) {
269275 var cache_key = command . params [ 1 ] . toLowerCase ( ) ;
270276 var cache = this . cache ( 'whois.' + cache_key ) ;
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ module.exports = {
9595 '335' : 'RPL_WHOISBOT' ,
9696 '338' : 'RPL_WHOISACTUALLY' ,
9797 '341' : 'RPL_INVITING' ,
98+ '344' : 'RPL_WHOISCOUNTRY' ,
9899 '352' : 'RPL_WHOREPLY' ,
99100 '353' : 'RPL_NAMEREPLY' ,
100101 '364' : 'RPL_LINKS' ,
You can’t perform that action at this time.
0 commit comments