From 9e0f738d0c863c8b90e5780a5254c32da5187057 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Thu, 24 Mar 2011 15:58:45 +0000 Subject: [PATCH] Fix flags.c's use of alias_flag() --- src/flags.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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.")); -- 2.30.2