mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-11-09 20:11:00 +00:00
upgrade alphas and betas
This commit is contained in:
parent
a602585399
commit
5b9320527d
@ -55,7 +55,7 @@ ircMsg(from, cmd, args, text, all) {
|
|||||||
case "motd":
|
case "motd":
|
||||||
motd();
|
motd();
|
||||||
return 1;
|
return 1;
|
||||||
#ifndef BETA
|
#ifndef GAMMA
|
||||||
case "lusers":
|
case "lusers":
|
||||||
lusers();
|
lusers();
|
||||||
return 1;
|
return 1;
|
||||||
@ -137,7 +137,7 @@ motd() {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef BETA
|
#ifndef GAMMA
|
||||||
lusers() {
|
lusers() {
|
||||||
# ifndef _flag_disable_query_server
|
# ifndef _flag_disable_query_server
|
||||||
reply(RPL_LUSERCLIENT, ":There are " + amount_people()
|
reply(RPL_LUSERCLIENT, ":There are " + amount_people()
|
||||||
|
@ -854,7 +854,7 @@ logon() {
|
|||||||
// SILENCE: ach und ich weiss nicht ob /quote silence bzw /silence den psyced befehl silence aufruft, aber imo sollte er das aus verwirrungs-vermeidungs-gruenden nicht tun. silence im irc ist serverseitiges ignore.
|
// SILENCE: ach und ich weiss nicht ob /quote silence bzw /silence den psyced befehl silence aufruft, aber imo sollte er das aus verwirrungs-vermeidungs-gruenden nicht tun. silence im irc ist serverseitiges ignore.
|
||||||
|
|
||||||
# endif
|
# endif
|
||||||
# ifndef BETA
|
# ifndef GAMMA
|
||||||
lusers();
|
lusers();
|
||||||
# endif
|
# endif
|
||||||
motd();
|
motd();
|
||||||
@ -862,7 +862,7 @@ logon() {
|
|||||||
// the following things happen after logon, because the textdb isn't
|
// the following things happen after logon, because the textdb isn't
|
||||||
// available earlier. if this order of things is not acceptable, then
|
// available earlier. if this order of things is not acceptable, then
|
||||||
// we have to run sTextPath twice (see above)
|
// we have to run sTextPath twice (see above)
|
||||||
# ifdef BETA
|
# ifdef GAMMA
|
||||||
# ifndef _flag_disable_query_server
|
# ifndef _flag_disable_query_server
|
||||||
sendmsg("/", "_request_user_amount", 0, ([]));
|
sendmsg("/", "_request_user_amount", 0, ([]));
|
||||||
// reply.h says RPL_LUSERME is mandatory.. huh.. FIXME?
|
// reply.h says RPL_LUSERME is mandatory.. huh.. FIXME?
|
||||||
|
@ -128,7 +128,7 @@
|
|||||||
#include <uniform.h>
|
#include <uniform.h>
|
||||||
#include <driver.h>
|
#include <driver.h>
|
||||||
|
|
||||||
#ifdef BETA
|
#ifdef GAMMA
|
||||||
# define ECHOES
|
# define ECHOES
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -211,7 +211,7 @@ static varargs string psyc_render(mixed source, string mc, mixed data,
|
|||||||
# if 1
|
# if 1
|
||||||
if (context = vars["_INTERNAL_context"]) {
|
if (context = vars["_INTERNAL_context"]) {
|
||||||
P4(("retransmit: %O - deleting source\n", data))
|
P4(("retransmit: %O - deleting source\n", data))
|
||||||
# ifdef ALPHA
|
# ifdef BETA
|
||||||
if (source != context && !vars["_source_relay"])
|
if (source != context && !vars["_source_relay"])
|
||||||
vars["_source_relay"] = source;
|
vars["_source_relay"] = source;
|
||||||
# else
|
# else
|
||||||
@ -224,7 +224,7 @@ static varargs string psyc_render(mixed source, string mc, mixed data,
|
|||||||
else if (context = vars["_context"]) {
|
else if (context = vars["_context"]) {
|
||||||
P4(("1st transmit: %O - deleting source and target\n", data))
|
P4(("1st transmit: %O - deleting source and target\n", data))
|
||||||
// we're not multipeering, so no sources here.
|
// we're not multipeering, so no sources here.
|
||||||
# ifdef ALPHA
|
# ifdef BETA
|
||||||
if (source != context && !vars["_source_relay"])
|
if (source != context && !vars["_source_relay"])
|
||||||
vars["_source_relay"] = source;
|
vars["_source_relay"] = source;
|
||||||
# else
|
# else
|
||||||
|
@ -255,7 +255,7 @@ cmd(a, args, dest, command) {
|
|||||||
people();
|
people();
|
||||||
break;
|
break;
|
||||||
case "lusers":
|
case "lusers":
|
||||||
#ifndef BETA
|
#ifndef GAMMA
|
||||||
if (sizeof(args) > 1 && is_formal(args[1])) {
|
if (sizeof(args) > 1 && is_formal(args[1])) {
|
||||||
sendmsg(args[1], "_request_user_amount",
|
sendmsg(args[1], "_request_user_amount",
|
||||||
"[_nick] would like to know how many users you have.",
|
"[_nick] would like to know how many users you have.",
|
||||||
@ -2051,7 +2051,7 @@ friendcast(mc, data, vars, friendivity) {
|
|||||||
// but doesn't make much sense as long as we cannot sort out dupes
|
// but doesn't make much sense as long as we cannot sort out dupes
|
||||||
//if (friendivity) vars["_amount_friendivity"] = friendivity;
|
//if (friendivity) vars["_amount_friendivity"] = friendivity;
|
||||||
if (castmsg(mc || "_message_friends", data, vars))
|
if (castmsg(mc || "_message_friends", data, vars))
|
||||||
#ifdef BETA
|
#ifdef GAMMA
|
||||||
// to put the echo into lastlog, we need to msg it to ourselves
|
// to put the echo into lastlog, we need to msg it to ourselves
|
||||||
msg(0, mc? "_echo"+mc : "_message_echo_friends", data, vars);
|
msg(0, mc? "_echo"+mc : "_message_echo_friends", data, vars);
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user