Pass from->getNick () instead of from->getAddress () to hooks/action
-Dale Smith
\ No newline at end of file
+Dale Smith (Documentation, Detailed Error Reporting)
\ No newline at end of file
2005-06-28 Clinton Ebadi <clinton@unknownlamer.org>
2005-06-28 Clinton Ebadi <clinton@unknownlamer.org>
+ * source/Parser.C (parseCTCP): Hook::ACTION is now passed
+ from->getNick () instead of from->getAddress () (consistency fix)
+
* source/Main.C: Merged error handling patch from dsmith
* source/Parser.C: Merged error handling
* source/Main.C: Merged error handling patch from dsmith
* source/Parser.C: Merged error handling
* hooks/disconnect is now called when the bot is disconnected from the
server unintentionally (network connection timeout, server died,
etc.)
* hooks/disconnect is now called when the bot is disconnected from the
server unintentionally (network connection timeout, server died,
etc.)
+ * hooks/action is now passed the user's nick instead of the full
+ address like all other hooks
+ Message Sending
* Implemented bot:notice
* bot:msg and bot:say may both send to channels and users (instead
+ Message Sending
* Implemented bot:notice
* bot:msg and bot:say may both send to channels and users (instead
* bot:protection/[none|no-ban|no-kick|no-deop] constants
* bot:aop/[no|yes] constants
* Utils::valid_nickname_p should have a configurable max nick length
* bot:protection/[none|no-ban|no-kick|no-deop] constants
* bot:aop/[no|yes] constants
* Utils::valid_nickname_p should have a configurable max nick length
+* More detailed script error reporting
+* Commands::sendCTCP, Commands::sendCTCPReply
2.2:
* Finish Texinfo manual
2.2:
* Finish Texinfo manual
-* Register a lazy catch handler (in Interp::Startup) that prints more
- debug info to the log (filename, line number, column number,
- etc.). Check the mod_guile source for the lazy catch handler in it.
-* Utils::valid_nickname_p should have a configurable max nick length
- (now that most networks allow for longer than nine character
- nicks). This is dependant upon the new configuration system
* Finish adding commands to Scheme for sending messages
(e.g. bot:send-CTCP to send a CTCP message)
* Add util functions for doing stuff like quoting CTCP messages
* Finish adding hooks/send hooks
* Add DCC_CHAT_END hook for Scheme
* Finish adding commands to Scheme for sending messages
(e.g. bot:send-CTCP to send a CTCP message)
* Add util functions for doing stuff like quoting CTCP messages
* Finish adding hooks/send hooks
* Add DCC_CHAT_END hook for Scheme
-* Commands::sendCTCP, Commands::sendCTCPReply
2.4:
* Use configuration database class
2.4:
* Use configuration database class
else if (command == "ACTION")
{
cnx->bot->botInterp->RunHooks (Hook::ACTION,
else if (command == "ACTION")
{
cnx->bot->botInterp->RunHooks (Hook::ACTION,
- // FIXME: from->getAddress should
- // be nick. MAYBE, depending on
- // whether this could be
- // considered a bug or a feature
- // change to normalize
- // hooks/action with the other
- // hooks. Maybe a 3.0 change?
- from->getAddress () + " " + to +
+ from->getNick () + " " + to +
" " + rest,
scm_listify (Utils::
str2scm (from->
" " + rest,
scm_listify (Utils::
str2scm (from->
()),
Utils::
str2scm (to),
()),
Utils::
str2scm (to),