Vgr E.Barry
7c9b5ce51b
Fix decorators
2015-07-31 13:29:26 -04:00
skizzerz
93345c990d
Make DISABLE_ACCOUNTS actually disable account-related stuff.
...
Right now the only thing that still tracks accounts if DISABLE_ACCOUNTS
is True is stats stuff (in sqlite), as I'm unsure of how we want to
handle that for when accounts aren't enabled; likely track by nick but
unsure on that right now.
This further implements issue #112 but doesn't fix it entirely yet.
2015-07-19 14:37:17 -05:00
Vgr E.Barry
5c6a14154e
Change !help to not display aliases
...
Also improve message splitting and remove string concatenation to use
faster and more memory-efficient methods
2015-06-18 23:20:56 -04:00
nyuszika7h
dd2d82392d
Reorganize imports
2015-06-15 15:20:27 +02:00
skizzerz
4d15ee0421
Revert "Speed up startup time a bit"
...
This reverts commit 77d1eda07478a566a45b022af61d51c84ac68279.
Let's not use "private" modules for nonexistent performance boosts.
2015-06-14 22:25:58 -05:00
Vgr E.Barry
77d1eda074
Speed up startup time a bit
...
_collections is the C implementation (and where defaultdict lies), and
is as such already loaded when the interpreter is launched. collections
imports a bunch of other useless stuff we're not interested in.
2015-06-14 23:13:49 -04:00
nyuszika7h
1591655c68
Log admin commands to audit.log as well
2015-06-14 17:45:46 +02:00
Vgr E.Barry
6a7f9fe906
Fix denied commands still triggering
...
...
2015-06-05 22:58:38 -04:00
Vgr E.Barry
910fd0a8cb
Fix decorators erroring with every message
2015-06-04 19:51:21 -04:00
Vgr E.Barry
4382d91008
Modify hook handling
2015-06-04 10:55:53 -04:00
Vgr E.Barry
49f0ba220b
Modify all commands call to properly call the commands
2015-06-04 10:50:10 -04:00
Vgr E.Barry
dcc23ce554
Modify how permissions are checked
2015-06-04 09:45:31 -04:00
Vgr E.Barry
b6211748a1
Add the 'phases' and 'silenced' arguments to the cmd decorator
2015-06-04 09:44:34 -04:00
Vgr E.Barry
f1285d2237
Tweak the decorators to no longer have mangled __call__
2015-06-03 11:09:26 -04:00
Vgr E.Barry
ca2e901d58
Mass overhaul to the decorators
2015-06-01 16:37:22 -04:00
jacob1
338f24aa66
fix bug where players in var.DISCONNECTED couldn't use any commands (like !stats)
2015-05-28 21:01:34 -04:00
nyuszika7h
599ad45544
Reorganize imports
2015-04-07 12:01:59 +02:00
Vgr E.Barry
378334478c
Move files around and update references
2015-04-04 07:39:54 -04:00