-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent raw text from being sent - irc.py
The true issue being that newlines didn't append the right command.
- Loading branch information
Foxlet
committed
Aug 29, 2015
1 parent
f258577
commit 3b8bf97
Showing
1 changed file
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3b8bf97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still vulnerable to repeating new lines in unencode, making the bot spam messages (and get kicked)
Result of .unencode directly should filter before passing to message. Then if PLUGINS call message with a new line, this behavior is desirable.
So not saying undo this, but to still filter result of unencode before it reaches this.