mirror of
https://github.com/cnaude/PurpleIRC-spigot.git
synced 2024-10-05 09:47:30 +02: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);
|
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) {
|
for (String myChannel : ircBot.botChannels) {
|
||||||
channel = ircBot.getChannel(myChannel);
|
channel = ircBot.getChannel(myChannel);
|
||||||
if (channel != null) {
|
if (channel != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user