diff options
author | shennetsind <ind@henn.et> | 2013-04-01 17:43:01 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-04-01 17:43:01 -0300 |
commit | 1e87c09c8463009a4c97d30277d2345b3c83b0f3 (patch) | |
tree | 03d028f596185f2cb3bde048ab26b5431d4b46ec /src/map/atcommand.c | |
parent | e0ae3fea78fdeb275bd0a92979067511f8eef69f (diff) | |
download | hercules-1e87c09c8463009a4c97d30277d2345b3c83b0f3.tar.gz hercules-1e87c09c8463009a4c97d30277d2345b3c83b0f3.tar.bz2 hercules-1e87c09c8463009a4c97d30277d2345b3c83b0f3.tar.xz hercules-1e87c09c8463009a4c97d30277d2345b3c83b0f3.zip |
Fixed a bug in the channel system
All credit goes to malufett, thank you~!
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 2fdc1a9d3..b7e50e378 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -8904,6 +8904,7 @@ ACMD_FUNC(channel) { clif->chsys_create(channel,sub1 + 1,sub2,0); channel->owner = sd->status.char_id; + channel->type = hChSys_PRIVATE; if( !( channel->opt & hChSys_OPT_ANNOUNCE_JOIN ) ) { sprintf(atcmd_output, msg_txt(1403),sub1); // You're now in the '%s' channel |