mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 14:37:17 +02:00
Fixed a bug causing IMC users to see an echo when talking. The IRC<->Evennia<->IRC system seems to work as advertised now.
/Griatch
This commit is contained in:
parent
72e55f417a
commit
8d239ba382
1 changed files with 3 additions and 3 deletions
|
|
@ -328,13 +328,13 @@ def send_cexternal(cname, cmessage, from_external=None):
|
|||
and all mapped external channels will be notified.
|
||||
"""
|
||||
|
||||
if settings.IMC2_ENABLED and not from_external=="IMC":
|
||||
if settings.IMC2_ENABLED and from_external != "IMC2":
|
||||
#map an IRC emit to the IMC network
|
||||
|
||||
# Look for IMC2 channel maps. If one is found, send an ice-msg-b
|
||||
# packet to the network.
|
||||
#handle lack of user, IMC-way.
|
||||
|
||||
|
||||
try:
|
||||
from src.imc2.connection import IMC2_PROTOCOL_INSTANCE
|
||||
map = IMC2ChannelMapping.objects.get(channel__name=cname)
|
||||
|
|
@ -347,7 +347,7 @@ def send_cexternal(cname, cmessage, from_external=None):
|
|||
# No map found, do nothing.
|
||||
pass
|
||||
|
||||
if settings.IRC_ENABLED and not from_external=="IRC":
|
||||
if settings.IRC_ENABLED and from_external != "IRC":
|
||||
# Map an IMC emit to IRC channels
|
||||
|
||||
# Look for IRC channel maps. If found, echo cmessage to the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue