[NeoStats-Devel] [Commits] r364 - branches/3.0
[email protected] Sat, 13 Aug 2005 02:18:43 +1000
| Newsgroups | gmane.comp.neostats.devel |
|---|---|
| Message-ID | <[email protected]> |
Author: Fish
Date: Sat Aug 13 00:18:36 2005
New Revision: 364
Modified:
branches/3.0/scan.c
Log:
realnames can also have mirc codes
Modified: branches/3.0/scan.c
==============================================================================
--- branches/3.0/scan.c (original)
+++ branches/3.0/scan.c Sat Aug 13 00:18:36 2005
@@ -372,7 +372,13 @@
int ScanRealname(Client *u)
{
- return Scan(DET_REALNAME, u, u->info);
+ char *buf;
+ int i;
+ buf = strdup(u->info);
+ strip_mirc_codes(buf);
+ i = Scan(DET_REALNAME, u, buf);
+ free(buf);
+ return i;
}
int ScanCTCPVersion(Client *u, char* buf)