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:
Griatch 2009-08-28 18:38:08 +00:00
parent 72e55f417a
commit 8d239ba382

View file

@ -328,7 +328,7 @@ def send_cexternal(cname, cmessage, from_external=None):
and all mapped external channels will be notified. 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 #map an IRC emit to the IMC network
# Look for IMC2 channel maps. If one is found, send an ice-msg-b # Look for IMC2 channel maps. If one is found, send an ice-msg-b
@ -347,7 +347,7 @@ def send_cexternal(cname, cmessage, from_external=None):
# No map found, do nothing. # No map found, do nothing.
pass 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 # Map an IMC emit to IRC channels
# Look for IRC channel maps. If found, echo cmessage to the # Look for IRC channel maps. If found, echo cmessage to the