Skip to content

Commit b0ddbb8

Browse files
committed
ERR_YOUREBANNEDCREEP handler
1 parent eb59375 commit b0ddbb8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/commands/handlers/generics.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ const generics = {
9292
channel: 1,
9393
reason: -1
9494
},
95-
9695
ERR_BADCHANNELKEY: {
9796
event: 'irc error',
9897
error: 'bad_channel_key',
@@ -112,7 +111,13 @@ const generics = {
112111
error: 'unknown_command',
113112
command: 1,
114113
reason: -1
115-
}
114+
},
115+
116+
ERR_YOUREBANNEDCREEP: {
117+
event: 'irc error',
118+
error: 'banned_from_network',
119+
reason: -1,
120+
},
116121
};
117122

118123
const generic_keys = Object.keys(generics);

src/commands/numerics.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ module.exports = {
133133
'443': 'ERR_USERONCHANNEL',
134134
'451': 'ERR_NOTREGISTERED',
135135
'461': 'ERR_NOTENOUGHPARAMS',
136+
'465': 'ERR_YOUREBANNEDCREEP',
136137
'464': 'ERR_PASSWDMISMATCH',
137138
'470': 'ERR_LINKCHANNEL',
138139
'471': 'ERR_CHANNELISFULL',

0 commit comments

Comments
 (0)