File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,8 @@ var handlers = {
6464 var params = _ . clone ( command . params ) ;
6565 params . shift ( ) ;
6666 handler . emit ( 'motd' , {
67- error : command . params [ command . params . length - 1 ]
67+ error : command . params [ command . params . length - 1 ] ,
68+ tags : command . tags
6869 } ) ;
6970 } ,
7071
Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ var handlers = {
2626 }
2727
2828 handler . emit ( 'registered' , {
29- nick : nick
29+ nick : nick ,
30+ tags : command . tags
3031 } ) ;
3132 } ,
3233
@@ -84,7 +85,8 @@ var handlers = {
8485
8586 handler . emit ( 'server options' , {
8687 options : handler . network . options ,
87- cap : handler . network . cap . enabled
88+ cap : handler . network . cap . enabled ,
89+ tags : command . tags
8890 } ) ;
8991 } ,
9092
Original file line number Diff line number Diff line change @@ -133,21 +133,24 @@ var handlers = {
133133 RPL_ISON : function ( command , handler ) {
134134 handler . emit ( 'users online' , {
135135 nicks : ( command . params [ command . params . length - 1 ] || '' ) . split ( ' ' ) ,
136+ tags : command . tags
136137 } ) ;
137138 } ,
138139
139140
140141 ERR_NICKNAMEINUSE : function ( command , handler ) {
141142 handler . emit ( 'nick in use' , {
142143 nick : command . params [ 1 ] ,
143- reason : command . params [ command . params . length - 1 ]
144+ reason : command . params [ command . params . length - 1 ] ,
145+ tags : command . tags
144146 } ) ;
145147 } ,
146148
147149 ERR_ERRONEOUSNICKNAME : function ( command , handler ) {
148150 handler . emit ( 'nick invalid' , {
149151 nick : command . params [ 1 ] ,
150- reason : command . params [ command . params . length - 1 ]
152+ reason : command . params [ command . params . length - 1 ] ,
153+ tags : command . tags
151154 } ) ;
152155 } ,
153156
You can’t perform that action at this time.
0 commit comments