diff options
author | Luke Fitzgerald <lw.fitzgerald@googlemail.com> | 2010-07-24 07:54:09 -0700 |
---|---|---|
committer | Luke Fitzgerald <lw.fitzgerald@googlemail.com> | 2010-07-24 07:54:09 -0700 |
commit | 9f0eea69ff9cd67b638e70c42d887c7bb45c4ffd (patch) | |
tree | 2a750f2f917072286e4639f8b5c5aa65822fdf1f /plugins/Irc/extlib/phergie | |
parent | be0fb0356022bc647e30f79f71c9e6d104747699 (diff) |
Handle the case where confirmation is cancelled
Diffstat (limited to 'plugins/Irc/extlib/phergie')
-rw-r--r-- | plugins/Irc/extlib/phergie/Phergie/Plugin/Statusnet.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Irc/extlib/phergie/Phergie/Plugin/Statusnet.php b/plugins/Irc/extlib/phergie/Phergie/Plugin/Statusnet.php index 459fe1312..f2b7bcdab 100644 --- a/plugins/Irc/extlib/phergie/Phergie/Plugin/Statusnet.php +++ b/plugins/Irc/extlib/phergie/Phergie/Plugin/Statusnet.php @@ -95,11 +95,11 @@ class Phergie_Plugin_Statusnet extends Phergie_Plugin_Abstract { if ($event->getNick() == 'NickServ') {
$message = $event->getArgument(1);
if (preg_match($this->unregRegexp, $message, $groups)) {
- $nick = $groups[1];
- call_user_func($this->regCallback, array('nick' => $nick, 'registered' => false));
+ $screenname = $groups[1];
+ call_user_func($this->regCallback, array('screenname' => $screenname, 'registered' => false));
} elseif (preg_match($this->regRegexp, $message, $groups)) {
- $nick = $groups[1];
- call_user_func($this->regCallback, array('nick' => $nick, 'registered' => true));
+ $screenname = $groups[1];
+ call_user_func($this->regCallback, array('screenname' => $screenname, 'registered' => true));
}
}
}
|