diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-09-30 11:11:36 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-09-30 11:11:36 +0000 |
commit | 9416d192045ebf77c4b3d04cd3f7d2ee69deb61d (patch) | |
tree | 5e4beed51f286ac8fc62ad48bc08b9438437f9f5 /src/botserv.c | |
parent | 0281b73406a3f4094f9ccb7265be06138a3ca10c (diff) |
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
Diffstat (limited to 'src/botserv.c')
-rw-r--r-- | src/botserv.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/botserv.c b/src/botserv.c index 735e608c4..39fc06d3e 100644 --- a/src/botserv.c +++ b/src/botserv.c @@ -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; |