aboutsummaryrefslogtreecommitdiffstats
path: root/IRC
diff options
context:
space:
mode:
authortv <tv@xso>2011-09-06 13:44:39 +0200
committertv <tv@xso>2011-09-06 13:44:39 +0200
commit67a78596e826aa88375b21d5f194812245cfa04a (patch)
tree05546d859e32a86bd551832c02d0c481aa32c5db /IRC
parent1a43c8c04073f3d945f1b0b35b67beeeac75df5d (diff)
//Reaktor/IRC: use //Reaktor/public_commands
Diffstat (limited to 'IRC')
-rwxr-xr-xIRC/bot2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/IRC/bot2.py b/IRC/bot2.py
index 0583d32..7365686 100755
--- a/IRC/bot2.py
+++ b/IRC/bot2.py
@@ -40,7 +40,8 @@ class IRCBot(SimpleIRCClient):
from os.path import realpath, dirname, join
from subprocess import Popen as popen, PIPE
- public_commands = join(realpath(dirname(__file__)), 'public_commands')
+ Reaktor_dir = dirname(realpath(dirname(__file__)))
+ public_commands = join(Reaktor_dir, 'public_commands')
command = join(public_commands, _command)
if is_executable(command):