From 076c4491a56ce4f4f206c63aa8226f190fe4dbd4 Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Sat, 25 Apr 2009 12:24:43 +0200 Subject: [PATCH] works for fippo (thx) --- CHANGESTODO | 3 ++- world/net/irc/user.c | 8 ++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGESTODO b/CHANGESTODO index aa0333d..fcad647 100644 --- a/CHANGESTODO +++ b/CHANGESTODO @@ -3927,4 +3927,5 @@ net/twitter + listing: provide a listing of subscribed feeds http/fetch - minor api cleanups to serve a more generic job - +library/dns ++ honor #define _flag_disable_trust_localhost diff --git a/world/net/irc/user.c b/world/net/irc/user.c index 93fc161..edbd371 100644 --- a/world/net/irc/user.c +++ b/world/net/irc/user.c @@ -414,12 +414,20 @@ w(string mc, string data, mapping vars, mixed source) { # ifdef ALIASES if (raliases[source]) { nick2 = raliases[source]; +# if 0 vars["_INTERNAL_source_IRC"] = nick2 +"!"+ u[UNick]? u[UNick] +"@"+ u[UHost] : (vars["_nick_long"] || vars["_INTERNAL_nick_plain"] || vars["_nick"]) +"@alias.undefined"; +# else + vars["_INTERNAL_source_IRC"] = nick2 +"!"+ + (u[UNick]? u[UNick] +"@"+ u[UHost] + : (vars["_nick_long"] + || vars["_INTERNAL_nick_plain"] + || vars["_nick"])); +# endif } unless (nick2) {