From 2b79e3ee445cf606544ab818aefdd6a46aaa920e Mon Sep 17 00:00:00 2001 From: xrogaan Date: Tue, 27 Nov 2007 12:52:24 +0000 Subject: [PATCH] 9 "resolution de quelques bugs" --- plugins/jet-plugin.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/jet-plugin.inc.php b/plugins/jet-plugin.inc.php index 5740765..e615d70 100644 --- a/plugins/jet-plugin.inc.php +++ b/plugins/jet-plugin.inc.php @@ -127,6 +127,7 @@ class jet implements plugin { if ($rand) $result = $result/2; + $this->IRCConn->privmsg($this->message['to'],$result); return $result; } @@ -148,7 +149,7 @@ class jet implements plugin { $toreturn+= rand(1,$value); $number-=1; } - $this->IRCConn->privmsg($this->message['from'],$toreturn); + return $toreturn; } } -- 2.11.4.GIT