From 9d0a276f93dd8fe0137c9818779cba6555102b1f Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Wed, 23 Jul 2014 23:55:31 +0200
Subject: Port the `coin' plugin from VitaminA
---
plugins/eval | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'plugins/eval')
diff --git a/plugins/eval b/plugins/eval
index 97c3349..c661df6 100755
--- a/plugins/eval
+++ b/plugins/eval
@@ -65,11 +65,11 @@ msg_command == "PRIVMSG" \
ctx = substr(msg_prefix, RSTART, RLENGTH)
if (msg_param[0] ~ /^[#&!+]/)
{
- ctxquote = ctx ": "
+ ctx_quote = ctx ": "
ctx = msg_param[0]
}
else
- ctxquote = ""
+ ctx_quote = ""
if (substr(msg_param[1], 1, length(prefix)) == prefix)
@@ -87,7 +87,7 @@ msg_command == "PRIVMSG" \
function pmrespond (text)
{
- print "PRIVMSG " ctx " :" ctxquote text
+ print "PRIVMSG " ctx " :" ctx_quote text
}
function process_request (input, res, x)
--
cgit v1.2.3-70-g09d2