diff options
author | shennetsind <ind@henn.et> | 2013-06-01 22:23:12 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-06-01 22:23:12 -0300 |
commit | c9d08b4d92a6fdab0e13dcff140b70e8d9f0abe9 (patch) | |
tree | fb71ec73064d0b4cb41651943c7beca0412fb68f /src/map/clif.c | |
parent | 3a3d37f5950c5236aac557fbe34a5524fbcda591 (diff) | |
download | hercules-c9d08b4d92a6fdab0e13dcff140b70e8d9f0abe9.tar.gz hercules-c9d08b4d92a6fdab0e13dcff140b70e8d9f0abe9.tar.bz2 hercules-c9d08b4d92a6fdab0e13dcff140b70e8d9f0abe9.tar.xz hercules-c9d08b4d92a6fdab0e13dcff140b70e8d9f0abe9.zip |
IRC Bridge Fix/Adjustments
All Credits to Haruna~!
Thank you very much!
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index f1aac302e..319be6b3e 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -2762,7 +2762,7 @@ void read_channels_config(void) { ShowWarning("channels.conf : irc channel enabled but irc_channel_network wasn't found, disabling irc channel...\n"); } if( config_setting_lookup_string(settings, "irc_channel_channel", &irc_channel) ) - safestrncpy(hChSys.irc_channel, irc_channel, 20); + safestrncpy(hChSys.irc_channel, irc_channel, 50); else { hChSys.irc = false; ShowWarning("channels.conf : irc channel enabled but irc_channel_channel wasn't found, disabling irc channel...\n"); @@ -2771,7 +2771,7 @@ void read_channels_config(void) { if( strcmpi(irc_nick,"Hercules_chSysBot") == 0 ) { sprintf(hChSys.irc_nick, "Hercules_chSysBot%d",rand()%777); } else - safestrncpy(hChSys.irc_nick, irc_nick, 30); + safestrncpy(hChSys.irc_nick, irc_nick, 40); } else { hChSys.irc = false; ShowWarning("channels.conf : irc channel enabled but irc_channel_nick wasn't found, disabling irc channel...\n"); |