about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/irc-oper.c5
1 files changed, 5 insertions, 0 deletions
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) {