X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Firc-oper.c;h=21577f00438956992141cf6c255767763fcdd409;hp=1b269e3be6a7f463c9549a0db33aa3b17097d7e5;hb=8a8e8a3a23576ccdf06aec7d0a2e6a0d8584a9d8;hpb=65befdafaa53843eacf5abf9c079cf8f0d2597b0 diff --git a/src/ngircd/irc-oper.c b/src/ngircd/irc-oper.c index 1b269e3b..21577f00 100644 --- a/src/ngircd/irc-oper.c +++ b/src/ngircd/irc-oper.c @@ -450,6 +450,11 @@ IRC_xLINE(CLIENT *Client, REQUEST *Req) case 'K': class = CLASS_KLINE; class_c = 'K'; break; + default: + Log(LOG_CRIT, + "IRC_xLINE() called for unknown line: %c!? Ignored.", + Req->command[0]); + return CONNECTED; } if (Req->argc == 1) {