mirror of
https://github.com/cnaude/PurpleIRC-spigot.git
synced 2025-02-18 04:21:23 +01:00
Add znc command.
This commit is contained in:
parent
02dd637ec6
commit
749e998cbc
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user