mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-11-09 20:11:00 +00:00
disable old warning
This commit is contained in:
parent
73b25d07af
commit
fbbdf7c2e0
@ -458,8 +458,9 @@ varargs object summon_person(string nick, vamixed blueprint) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// look up interface.h for a macro doing the same job
|
// look up interface.h for a macro doing the same job
|
||||||
|
// legal_url() is similar to this, too
|
||||||
#ifndef is_formal
|
#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
|
// uniform does not check for objects, so you MUST do that
|
||||||
// yourself first.
|
// yourself first.
|
||||||
//unless (stringp(nicki)) return 0;
|
//unless (stringp(nicki)) return 0;
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
#include <net.h>
|
#include <net.h>
|
||||||
#include <uniform.h>
|
#include <uniform.h>
|
||||||
|
|
||||||
|
// is_formal is similar to this
|
||||||
string legal_url(string url, string scheme) {
|
string legal_url(string url, string scheme) {
|
||||||
if (scheme &&! abbrev(scheme+":", url)) return 0;
|
if (scheme &&! abbrev(scheme+":", url)) return 0;
|
||||||
if (index(url, '"') >= 0) return 0;
|
if (index(url, '"') >= 0) return 0;
|
||||||
|
@ -1917,13 +1917,13 @@ cmd(a, args, b, source, vars) {
|
|||||||
return 1;
|
return 1;
|
||||||
#endif
|
#endif
|
||||||
#ifdef PLACE_FILTERS
|
#ifdef PLACE_FILTERS
|
||||||
case "quiet":
|
// case "quiet":
|
||||||
case "filter":
|
// case "filter":
|
||||||
case "silent":
|
// case "silent":
|
||||||
sendmsg(source, "_error_usage_quiet",
|
// sendmsg(source, "_error_usage_quiet",
|
||||||
"The /quiet and /silent functions have been replaced by /silence.\n\
|
// "The /quiet and /silent functions have been replaced by /silence.\n\
|
||||||
See the manual for details.");
|
//See the manual for details.");
|
||||||
return 1;
|
// return 1;
|
||||||
case "silence":
|
case "silence":
|
||||||
// thought about calling this /filter, but maybe we need that
|
// thought about calling this /filter, but maybe we need that
|
||||||
// in the user as /filter <method> <flags> someday..
|
// in the user as /filter <method> <flags> someday..
|
||||||
|
Loading…
Reference in New Issue
Block a user