From: Ari Johnson Date: Thu, 24 Mar 2011 15:58:45 +0000 (+0000) Subject: Fix flags.c's use of alias_flag() X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=9e0f738d0c863c8b90e5780a5254c32da5187057;p=cobramush.git Fix flags.c's use of alias_flag() --- diff --git a/src/flags.c b/src/flags.c index 9a23158..ed65b22 100644 --- a/src/flags.c +++ b/src/flags.c @@ -2292,7 +2292,10 @@ do_flag_alias(dbref player, const char *name, const char *alias) do_flag_info("FLAG", player, f->name); } else { /* Insert the flag in the ptab by the given alias */ - if (alias_flag(name, alias)) + ptab_start_inserts(n->tab); + ptab_insert(n->tab, alias, f); + ptab_end_inserts(n->tab); + if ((f = match_flag_ns(n, alias))) do_flag_info("FLAG", player, alias); else notify(player, T("Unknown failure adding alias."));