Trying to get !help on various commands, I ended up
littering the channel PPF was in with !help commands
when I'd prefer to send some of them directly via PM.
PPF ignores !commands in a PM.
Here it basically says if the user isn't auth'd and is not
sending a basic PPF command, ignore them. The code for
sending PMs to plugins is below this (at the bottom of the
onPrivateMessage method)
To fix this you simply need to change this to:
} else if (isAuthed(sender, AUTH_ADMIN)) {
realMsg = message;
// } else {
// return;
}
It may also be an idea to check the other similar methods
(onNotice, etc) to make sure that the same bug doesn't
exist there.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A simple workaround for this is to tell the bot to join a new channel where only you are on from before. In this "private channel" you can spam !help and other commands without disturbing others. You can use the "join #channel" command by PM to make the bot join a channel, and "leave #channel" for the opposite.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1460921
The problem here appears to be on line ~270 of PPF.java:
Here it basically says if the user isn't auth'd and is not
sending a basic PPF command, ignore them. The code for
sending PMs to plugins is below this (at the bottom of the
onPrivateMessage method)
To fix this you simply need to change this to:
} else if (isAuthed(sender, AUTH_ADMIN)) {
realMsg = message;
// } else {
// return;
}
It may also be an idea to check the other similar methods
(onNotice, etc) to make sure that the same bug doesn't
exist there.
Logged In: YES
user_id=66259
Originator: NO
A simple workaround for this is to tell the bot to join a new channel where only you are on from before. In this "private channel" you can spam !help and other commands without disturbing others. You can use the "join #channel" command by PM to make the bot join a channel, and "leave #channel" for the opposite.