diff options
Diffstat (limited to 'plugins/Irc/IrcPlugin.php')
-rw-r--r-- | plugins/Irc/IrcPlugin.php | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/plugins/Irc/IrcPlugin.php b/plugins/Irc/IrcPlugin.php index ce8f31784..d23f5005c 100644 --- a/plugins/Irc/IrcPlugin.php +++ b/plugins/Irc/IrcPlugin.php @@ -168,32 +168,6 @@ class IrcPlugin extends ImPlugin { } /** - * Only sends the confirmation message if the nick is - * registered - * - * @param string $screenname screenname sending to - * @param string $code the confirmation code - * @param User $user user sending to - * @return boolean success value - */ - public function checked_send_confirmation_code($screenname, $code, $user) { - $this->fake_irc->doPrivmsg('NickServ', 'INFO '.$screenname); - $this->enqueue_outgoing_raw( - array( - 'type' => 'nickcheck', - 'data' => $this->fake_irc->would_be_sent, - 'nickdata' => - array( - 'screenname' => $screenname, - 'code' => $code, - 'user' => $user - ) - ) - ); - return true; - } - - /** * Accept a queued input message. * * @return true if processing completed, false if message should be reprocessed @@ -228,6 +202,32 @@ class IrcPlugin extends ImPlugin { } /** + * Only sends the confirmation message if the nick is + * registered + * + * @param string $screenname screenname sending to + * @param string $code the confirmation code + * @param User $user user sending to + * @return boolean success value + */ + public function checked_send_confirmation_code($screenname, $code, $user) { + $this->fake_irc->doPrivmsg('NickServ', 'INFO '.$screenname); + $this->enqueue_outgoing_raw( + array( + 'type' => 'nickcheck', + 'data' => $this->fake_irc->would_be_sent, + 'nickdata' => + array( + 'screenname' => $screenname, + 'code' => $code, + 'user' => $user + ) + ) + ); + return true; + } + + /** * Initialize plugin * * @return boolean |