Skip to content
Snippets Groups Projects
Commit f159db24 authored by deuce's avatar deuce
Browse files

Exit right away on blank message.

parent 36496dd3
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,11 @@ for(i=0;i<argc;i++) {
}
}
if(msg == undefined || msg=='') {
log("Cowardly refusing to send empty message");
exit();
}
log("Using nick: " + nick);
log("Connecting to: " +server+ " port " + port);
my_server = IRC_client_connect(server,nick,undefined,undefined,port);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment