[[project @ 2005-06-24 18:59:07 by unknown_lamer] unknown_lamer**20050624185907 bot:msg and bot:say are the same thing now ] { hunk ./ChangeLog 2 + + * source/Commands.C (Msg): Move body of Say to an if inside of this + (Say): Just call Msg hunk ./NEWS 28 + * bot:msg and bot:say may both send to channels and users (instead + of bot:msg for users and bot:say for channels) hunk ./source/Commands.C 480 - return Commands::Say (bot, who, message); + if (!CHANNEL(who)) + { + return NotOnChannel (who); + } hunk ./source/Commands.C 609 - CHECK_CONNECTION; - - if (!CHANNEL(channel)) - return NotOnChannel(channel); - - QUEUE->sendPrivmsg(channel, message); - - return Ok; + return Commands::Msg (bot, channel, message); }