mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
-various little things
This commit is contained in:
parent
484b6440dc
commit
624709914b
5 changed files with 23 additions and 5 deletions
|
@ -102,7 +102,7 @@ void sender_verification(string sourcehost, mixed targethost)
|
|||
|
||||
// gets called during socket logon
|
||||
int logon(int failure) {
|
||||
string t;
|
||||
mixed t;
|
||||
sAuthHosts(([ ])); // reset authhosts
|
||||
legal_senders = ([ ]);
|
||||
instate = ([ "_INTERNAL_origin" : ME ]);
|
||||
|
@ -141,7 +141,7 @@ int logon(int failure) {
|
|||
unless(isServer()) {
|
||||
emit("|\n"); // initial greeting
|
||||
if (sizeof(verify_queue)) {
|
||||
foreach(mixed t : verify_queue) {
|
||||
foreach(t : verify_queue) {
|
||||
sender_verification(t[0], t[1]);
|
||||
}
|
||||
verify_queue = ({ });
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#define PSYCPARSE_STATE_GREET 3
|
||||
|
||||
#define DISPATCHERROR(reason) { \
|
||||
debug_message("SPYC DISPATCH ERROR: " reason); \
|
||||
debug_message("SPYC DISPATCH ERROR: " reason "\n"); \
|
||||
croak("_error_dispatch", "dispatch error: " \
|
||||
reason); \
|
||||
return; \
|
||||
|
|
|
@ -758,6 +758,7 @@ case "_message_echo_private":
|
|||
}
|
||||
return 0; // dont walk into _message_public if !pal
|
||||
#else
|
||||
if (!objectp(source)) vars["_nick_target"] = nick; //FIXME BETTER
|
||||
break;
|
||||
#endif
|
||||
case "_message_public_question":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue