diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-21 14:06:00 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-21 14:06:00 +0000 |
commit | 6460ab9b943f664e4353b375174a14e682e2d2fd (patch) | |
tree | 5de28d85d0a4e62de0b8c7425da559c251e3fa20 /src/map/irc.c | |
parent | 07c08c87cf446331b0a402c9ace0dca8fcd00d91 (diff) | |
download | hercules-6460ab9b943f664e4353b375174a14e682e2d2fd.tar.gz hercules-6460ab9b943f664e4353b375174a14e682e2d2fd.tar.bz2 hercules-6460ab9b943f664e4353b375174a14e682e2d2fd.tar.xz hercules-6460ab9b943f664e4353b375174a14e682e2d2fd.zip |
- Fixed the inf2 for BA_DISSONANCE
- Fixed SC_SWOO's opt3 value.
- Fixed allowing multiple recast of Dissonance/Ugly-Dance
- Fixed those annoying irc.c compile warnings.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5693 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/irc.c')
-rw-r--r-- | src/map/irc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/irc.c b/src/map/irc.c index b3cd74468..276dcccb8 100644 --- a/src/map/irc.c +++ b/src/map/irc.c @@ -197,7 +197,7 @@ void irc_parse_sub(int fd, char *incoming_string) char *source_nick=NULL;
char *source_ident=NULL;
char *source_host=NULL;
- char *state_mgr=NULL;
+// char *state_mgr=NULL;
memset(source,'\0',256);
memset(command,'\0',256);
@@ -208,7 +208,7 @@ void irc_parse_sub(int fd, char *incoming_string) sscanf(incoming_string, ":%255s %255s %255s :%4095[^\n]", source, command, target, message);
if (source != NULL) {
if (strstr(source,"!") != NULL) {
- sscanf(source,"%s!%s@$s",source_nick, source_ident, source_host);
+ sscanf(source,"%s!%s@%s",source_nick, source_ident, source_host);
//source_nick = strtok_r(source,"!",&state_mgr);
//source_ident = strtok_r(NULL,"@",&state_mgr);
//source_host = strtok_r(NULL,"%%",&state_mgr);
@@ -253,7 +253,7 @@ int send_to_parser(int fd, char *input,char key[2]) char format[4];
char *temp_string=NULL;
char *next_string=NULL;
- char *state_mgr=NULL;
+// char *state_mgr=NULL;
int total_loops=0;
//temp_string = strtok_r(input,key,&state_mgr);
|