diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 7c391faa5b..21daf919d1 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -3,6 +3,9 @@ Date Added AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. +2006/04/08 + * Fixed up irc.c, no more crashes :D [Zido] + 2006/04/07 * Likely fixed a mob not returning to their original class view on respawn after they changed class in their previous life. [Skotlex] diff --git a/src/map/irc.c b/src/map/irc.c index 0731004c43..79c5bd6405 100644 --- a/src/map/irc.c +++ b/src/map/irc.c @@ -256,30 +256,38 @@ void irc_parse_sub(int fd, char *incoming_string) sprintf(send_string, "PONG %s", command); irc_send(send_string); } - } - // Broadcast [Zido] (Work in Progress) - if((strcmpi(command,"privmsg")==0)&&(sscanf(message,"@kami %255[^\r\n]",cmd1)>0)&&(target[0]=='#')) { - if(get_access(source_nick)0)&&(target[0]=='#')) { + if(get_access(source_nick)