Add znc command.

This commit is contained in:
cnaude 2016-02-25 12:31:56 -07:00
parent 02dd637ec6
commit 749e998cbc

View File

@ -55,6 +55,12 @@ public class PrivateMessageListener extends ListenerAdapter {
plugin.logDebug("Private message caught <" + user.getNick() + ">: " + message);
// Catch znc status messages
if (user.getNick().equals("*status")) {
ircBot.zncResponse("<ZNC:Status>: " + message);
return;
}
for (String myChannel : ircBot.botChannels) {
channel = ircBot.getChannel(myChannel);
if (channel != null) {