]> jfr.im git - irc/rizon/acid.git/commitdiff
Startup fixes for new libpyva exception stuff. Update libpyva reference
authorAdam <redacted>
Sat, 21 Feb 2015 00:58:29 +0000 (19:58 -0500)
committerAdam <redacted>
Sat, 21 Feb 2015 00:58:29 +0000 (19:58 -0500)
pyva/pyva-native
pyva/pyva/src/main/python/moo/moo.py
pyva/pyva/src/main/python/pseudoclient/sys_log.py

index e2d4ad88b2d45dbf8351082d458dff8f35e775a4..da5f3486817468ddea63a4e96b47e12d068d8514 160000 (submodule)
@@ -1 +1 @@
-Subproject commit e2d4ad88b2d45dbf8351082d458dff8f35e775a4
+Subproject commit da5f3486817468ddea63a4e96b47e12d068d8514
index 4c3d94960be47b845924de62c3e7f9a7d4cdc766..b02bf7ec33f4bb4d985b6cb33449a70ee1b96461 100644 (file)
@@ -61,7 +61,8 @@ class moo(AcidPlugin):
                self.elog.debug('Started core subsystems.')             
                self.initialized = True
                
-               self.msg('HostServ', 'WAITING') # Check if we missed requests while down
+               if Acidictive.me and not Acidictive.me.isBursting():
+                       self.msg('HostServ', 'WAITING') # Check if we missed requests while down
                
                return True
        
index ff39bc079ba0de071b16b0330050102236d35684..f20b7adf95b4d32762ca04429b840bbea88083d6 100644 (file)
@@ -1,3 +1,5 @@
+import pyva_net_rizon_acid_core_Acidictive as Acidictive
+
 IRCCOLOR_WHITE      = 0
 IRCCOLOR_BLACK      = 1
 IRCCOLOR_BLUE       = 2
@@ -63,4 +65,5 @@ class LogManager(object):
                if level > self.level:
                        return
 
-               self.module.msg(self.chan, '@c%d[%d] %s@o' % (color, level, message))
+               if Acidictive.me and not Acidictive.me.isBursting():
+                       self.module.msg(self.chan, '@c%d[%d] %s@o' % (color, level, message))