weechat

- backup of me weechat setup
git clone git://git.acid.vegas/weechat.git
Log | Files | Refs | Archive | README

commit 472d0c103a2ceb1a91df736a7de15bd4b1b90bcc
parent 7a69248f19f80da950fe5a3964efde322c29fdcf
Author: acidvegas <acid.vegas@acid.vegas>
Date: Thu, 6 Jul 2023 21:03:56 -0400

Fixes

Diffstat:
MREADME.md | 2+-
Mscripts/python/masshl.py | 5++---

2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
@@ -32,7 +32,7 @@
 weechat -P "alias,buflist,charset,exec,fifo,fset,irc,logger,perl,python,relay,script,trigger,typing" -r "/set weechat.plugin.autoload alias,buflist,charset,exec,fifo,fset,irc,logger,perl,python,relay,script,trigger,typing;/save;/quit"
 rm $HOME/.weechat/weechat.log && chmod 700 $HOME/.weechat && mkdir $HOME/.weechat/ssl
 git clone --depth 1 https://github.com/acidvegas/weechat.git $HOME/weechat
-mv $HOM    E/weechat/alias.conf $HOME/.weechat/alias.conf && mv $HOME/weechat/scripts/perl/*.pl $HOME/.weechat/perl/autoload/ && mv $HOME/weechat/scripts/python/*.py $HOME/.weechat/python/autoload/
+mv $HOME/weechat/alias.conf $HOME/.weechat/alias.conf && mv $HOME/weechat/scripts/perl/*.pl $HOME/.weechat/perl/autoload/ && mv $HOME/weechat/scripts/python/*.py $HOME/.weechat/python/autoload/
 mkdir $HOME/.weechat/logs
 openssl req -x509 -new -newkey rsa:4096 -sha256 -days 3650 -out $HOME/.weechat/ssl/cert.pem -keyout $HOME/.weechat/ssl/cert.pem
 chmod 400 $HOME/.weechat/ssl/cert.pem
diff --git a/scripts/python/masshl.py b/scripts/python/masshl.py
@@ -13,7 +13,7 @@ def timer_cb(data, remaining_calls):
 			while '%n' in msg:
 				msg = msg.replace('%n', nicks[0], 1)
 				nicks.pop(0)
-			weechat.command(chan, msg))
+			weechat.command(chan, msg)
 	except:
 		pass
 	finally:
@@ -35,4 +35,4 @@ def masshl_cmd_cb(data, buffer, args):
 	return weechat.WEECHAT_RC_OK
 
 if weechat.register('masshl', 'acidvegas', '1.0', 'ISC', 'mass hilight all nicks in a channel', '', ''):
-	weechat.hook_command('masshl', 'mass hilight all nicks in a channel', '', '', '', 'masshl_cmd_cb', '')
-\ No newline at end of file
+	weechat.hook_command('masshl', 'mass hilight all nicks in a channel', '', '', '', 'masshl_cmd_cb', '')