]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
Add 'chanopprivsneeded'
authorChris Porter <redacted>
Mon, 20 Oct 2008 00:51:40 +0000 (01:51 +0100)
committerChris Porter <redacted>
Mon, 20 Oct 2008 00:51:40 +0000 (01:51 +0100)
js/irc/baseircclient.js
js/irc/numerics.js

index 26dfee5dc63638b1208b819a32753098899dd6a0..ee85f4d12126e74e46a5c26157db24afe0392824 100644 (file)
@@ -381,7 +381,7 @@ qwebirc.irc.BaseIRCClient = new Class({
     return true;
   },
   setupGenericErrors: function() {
-    this.irc_ERR_NOSUCHNICK = this.irc_ERR_CANNOTSENDTOCHAN = this.irc_generic_error;
+    this.irc_ERR_CHANOPPRIVSNEEDED = this.irc_ERR_NOSUCHNICK = this.irc_ERR_CANNOTSENDTOCHAN = this.irc_generic_error;
     return true;
   },
   irc_RPL_AWAY: function(prefix, params) {
index 0f4170d4da566fc2820b6222aef76952a35030cd..741c7a9fc49e82d96fc98cc622a1c499e6658e39 100644 (file)
@@ -19,5 +19,6 @@ qwebirc.irc.Numerics = {
   "343": "RPL_WHOISOPERNAME",
   "301": "RPL_AWAY",
   "401": "ERR_NOSUCHNICK",
-  "404": "ERR_CANNOTSENDTOCHAN"
+  "404": "ERR_CANNOTSENDTOCHAN",
+  "482": "ERR_CHANOPPRIVSNEEDED"
 };