A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

Untitled - Stikked
From Commodious Treeshrew, 12 Years ago, written in Python.
Embed
  1. ###
  2. # Copyright (c) 2012, Aha2Y
  3. # All rights reserved.
  4. #
  5. #
  6. ###
  7.  
  8. import supybot.utils as utils
  9. from supybot.commands import *
  10. import supybot.plugins as plugins
  11. import supybot.ircutils as ircutils
  12. import supybot.callbacks as callbacks
  13. from supybot.i18n import PluginInternationalization, internationalizeDocstring
  14.  
  15. _ = PluginInternationalization('SupyTools')
  16.  
  17. @internationalizeDocstring
  18. class SupyTools(callbacks.Plugin):
  19.     """Add the help for "@plugin help SupyTools" here
  20.    This should describe *how* to use this plugin."""
  21.     threaded = True
  22.  
  23.     def doPrivmsg(self, irc, msg):
  24.         message = msg.args[1]
  25.         if self.registryValue("implying") == True:
  26.             if message[0] == ">":
  27.                 ignore = ["_", "-", "", ""]
  28.                 if len(message) == 1: return
  29.                 if message in Whitelist: returns
  30.                 message = message[1:].strip()
  31.                 irc.reply(">implying %s" % (message), prefixNick=False)
  32. Class = SupyTools
  33.  
  34.  
  35. # vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79: