*
* @return User user
*/
- function get_user($screenname)
+ function getUser($screenname)
{
$user_im_prefs = $this->getUserImPrefsFromScreenname($screenname);
if($user_im_prefs){
*/
protected function handleIncoming($from, $notice_text)
{
- $user = $this->get_user($from);
+ $user = $this->getUser($from);
// For common_current_user to work
global $_cur;
$_cur = $user;
{
$info=Aim::getMessageInfo($message);
$from = $info['from'];
- $user = $this->get_user($from);
+ $user = $this->getUser($from);
$notice_text = $info['message'];
$this->handleIncoming($from, $notice_text);
* @param boolean true on success
*/
protected function handle_channel_incoming($nick, $channel, $notice_text) {
- $user = $this->get_user($nick);
+ $user = $this->getUser($nick);
// For common_current_user to work
global $_cur;
$_cur = $user;