diff options
Diffstat (limited to 'scripts/python/uname.py')
-rw-r--r-- | scripts/python/uname.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/scripts/python/uname.py b/scripts/python/uname.py deleted file mode 100644 index c95ad3f17..000000000 --- a/scripts/python/uname.py +++ /dev/null @@ -1,18 +0,0 @@ -# This script sends "uname -a" output to current channel. -# Just type /uname while chatting on some channel ;) - -# by Stalwart <stlwrt doggy gmail.com> -# -# Released under GPL licence. - -import weechat -from os import popen - -def senduname(server, args): - unameout = popen ('uname -a') - uname = unameout.readline() - weechat.command(uname[:-1]) - return 0 - -weechat.register ('uname', '1.0', '', """Sends "uname -a" output to current channel""") -weechat.add_command_handler ('uname', 'senduname') |