From fbbdf7c2e03f37616583b838fc520a3f89e8f15f Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Thu, 3 Feb 2011 16:54:56 +0100 Subject: [PATCH] disable old warning --- world/net/library.i | 3 ++- world/net/library/uniform.c | 1 + world/net/place/archetype.gen | 14 +++++++------- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/world/net/library.i b/world/net/library.i index 4ef7580..44ffd98 100644 --- a/world/net/library.i +++ b/world/net/library.i @@ -458,8 +458,9 @@ varargs object summon_person(string nick, vamixed blueprint) { } // look up interface.h for a macro doing the same job +// legal_url() is similar to this, too #ifndef is_formal -string is_formal(string nicki) { +string is_formal(string nicki) { // formerly known as is_uniform() // uniform does not check for objects, so you MUST do that // yourself first. //unless (stringp(nicki)) return 0; diff --git a/world/net/library/uniform.c b/world/net/library/uniform.c index 843ad7d..028f7de 100644 --- a/world/net/library/uniform.c +++ b/world/net/library/uniform.c @@ -12,6 +12,7 @@ #include #include +// is_formal is similar to this string legal_url(string url, string scheme) { if (scheme &&! abbrev(scheme+":", url)) return 0; if (index(url, '"') >= 0) return 0; diff --git a/world/net/place/archetype.gen b/world/net/place/archetype.gen index 1f3b0e5..ecc05b8 100644 --- a/world/net/place/archetype.gen +++ b/world/net/place/archetype.gen @@ -1917,13 +1917,13 @@ cmd(a, args, b, source, vars) { return 1; #endif #ifdef PLACE_FILTERS - case "quiet": - case "filter": - case "silent": - sendmsg(source, "_error_usage_quiet", - "The /quiet and /silent functions have been replaced by /silence.\n\ -See the manual for details."); - return 1; +// case "quiet": +// case "filter": +// case "silent": +// sendmsg(source, "_error_usage_quiet", +// "The /quiet and /silent functions have been replaced by /silence.\n\ +//See the manual for details."); +// return 1; case "silence": // thought about calling this /filter, but maybe we need that // in the user as /filter someday..