diff options
Diffstat (limited to 'src/operate.cc')
| -rw-r--r-- | src/operate.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/operate.cc b/src/operate.cc index 0808bc8..24004a4 100644 --- a/src/operate.cc +++ b/src/operate.cc @@ -2430,7 +2430,7 @@ void Talk(uint32 CreatureID, int Mode, const char *Addressee, const char *Text, // TODO(fusion): We should probably review this. You'd assume creature // should be a player when talking to any channel. - if(Channel == 0 && (Creature->Type != PLAYER + if(Channel == CHANNEL_GUILD && (Creature->Type != PLAYER || strcmp(((TPlayer*)Creature)->Guild, Subscriber->Guild) != 0)){ continue; } |
