From 2a1f2cb2842f87c982e01153255a67abb1abf29a Mon Sep 17 00:00:00 2001 From: shennetsind Date: Tue, 3 Jan 2012 16:45:06 +0000 Subject: Follow up r15343, added trimming to each individual aliases, allows the following: BEFORE: aliases had to be [wat,wut] with no spacing NOW: spacing is trimmed, you can for example [ wat , wut ] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15357 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index a546e4b9b..6802bdbcd 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -9254,7 +9254,7 @@ void atcommand_parse_aliases(char aliases[1024],AtCommandInfo* base) { for(i = 0; i < max;i++) { AtCommandInfo* atcommand; - + normalize_name(str[i]," ");//trim over if( strdb_exists(atcommand_db, str[i]) ) { ShowError("atcommand_conf: duplicate alises error: %s (from %s)\n",str[i],base->command); continue; -- cgit v1.2.3-70-g09d2