1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

disable old warning

This commit is contained in:
psyc://psyced.org/~lynX 2011-02-03 16:54:56 +01:00
parent 73b25d07af
commit fbbdf7c2e0
3 changed files with 10 additions and 8 deletions

View file

@ -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;

View file

@ -12,6 +12,7 @@
#include <net.h>
#include <uniform.h>
// 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;

View file

@ -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 <method> <flags> someday..