changeset 436:a0088ccd5b91

FreeNodeChat: move base_url to locals
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 03 Oct 2009 18:39:18 +0200
parents fea4aee3658a
children 9ca675677fb4
files data/plugin/macro/FreeNodeChat.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/macro/FreeNodeChat.py	Sat Oct 03 18:35:00 2009 +0200
+++ b/data/plugin/macro/FreeNodeChat.py	Sat Oct 03 18:39:18 2009 +0200
@@ -8,13 +8,12 @@
 
 from MoinMoin import wikiutil
 
-base_url = 'http://webchat.freenode.net/'
-
 def macro_FreeNodeChat(macro, nick=u'', randomnick=0, prompt=0, width=647, height=400):
     """ Embed a freenode web chat iframe
 
         <<FreeNodeChat()>>
     """
+    base_url = 'http://webchat.freenode.net/'
     qs = dict(width=width, height=height)
     if nick:
         qs['nick'] = nick