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

use the UNick

This commit is contained in:
psyc://psyced.org/~lynX 2009-03-04 11:27:19 +01:00
parent 8e4e990261
commit 6fd2423ff9
17 changed files with 52 additions and 56 deletions

View file

@ -1078,12 +1078,7 @@ P1(("ident: %O is really %O\n", t, source))
// und nicht bei jeder remote suorce generell? TODO
mixed *u = parse_uniform(source);
if (u) {
string n = u[UUser];
if (!n && u[UResource]
&& u[UResource][0] == '~') {
n = u[UResource][1..];
}
n = u[UNick];
unless (n) return 0; // not n? hm...
unless (vars["_nick"]