Commits

Jason R. Coombs  committed 5b6572c

'log' was already in locals(). Blarg.

  • Participants
  • Parent commits 32972e5
  • Tags 1103.6.3

Comments (0)

Files changed (1)

File pmxbot/core.py

 			s = s.split(' ', 1)[-1].lstrip()
 			log = False
 		if len(s) > 510:
-			log.warn(u"Truncating long message: " + s)
+			globals()['log'].warn(u"Truncating long message: " + s)
 			s = s[:510]
 		func(channel, s)
 		if (