1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 11:23:13 +02:00

BUILD : 1.7.11 (904) BUGS : NOTES : Stripping fantasy char from fantasy commands now

git-svn-id: svn://svn.anope.org/anope/trunk@904 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@650 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-09-30 11:11:36 +00:00
parent 0281b73406
commit 9416d19204
10 changed files with 25 additions and 26 deletions
+2 -7
View File
@@ -407,13 +407,8 @@ void botchanmsgs(User * u, ChannelInfo * ci, char *buf)
char *params = strtok(NULL, "");
char *event_name = EVENT_BOT_FANTASY_NO_ACCESS;
/* Warning: Hack Ahead
* To allow older modules to still work safely with the fantasy
* events, we replace the first char with '!' so that the cmd will
* be !trigger, and not *trigger or whatever, which will confuse
* them. Should be replaced after 1.8 -GD
*/
cmd[0] = '!';
/* Strip off the fantasy character */
cmd++;
if (check_access(u, ci, CA_FANTASIA))
event_name = EVENT_BOT_FANTASY;