Changeset 8c2b1c3
- Timestamp:
- 2008-02-11T14:36:19Z (17 years ago)
- Branches:
- master
- Children:
- 7f4016b
- Parents:
- 2a2db6f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
otr.c
r2a2db6f r8c2b1c3 958 958 int nflags; 959 959 char *p = flags; 960 char *from; 960 961 int i; 961 962 … … 997 998 strcat(p, u->nick); 998 999 } 999 irc_write( irc, ":%s!%s@%s MODE %s %s%s", irc->mynick, irc->mynick, irc->myhost, 1000 irc->channel, flags, p ); 1000 if(set_getbool(&irc->set, "simulate_netsplit")) 1001 from = g_strdup(irc->myhost); 1002 else 1003 from = g_strdup_printf("%s!%s@%s", irc->mynick, irc->mynick, irc->myhost); 1004 irc_write(irc, ":%s MODE %s %s%s", from, irc->channel, flags, p); 1005 g_free(from); 1001 1006 g_free(p); 1002 1007
Note: See TracChangeset
for help on using the changeset viewer.