changeset 649:92aefade4466

calc: Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 17 Feb 2021 10:29:41 +0200
parents 0f206ab6a0e4
children 80db2b265c5f
files calc.tcl
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/calc.tcl	Wed Feb 17 10:29:06 2021 +0200
+++ b/calc.tcl	Wed Feb 17 10:29:41 2021 +0200
@@ -31,6 +31,7 @@
   putserv "$calc_preferredmsg $udest :$umsg"
 }
 
+
 # ------------------------------------------------------------------------
 proc calc_do {args} {
 
@@ -55,7 +56,7 @@
   }
 
   set result [calc_do $args]
-  calc_smsg $chan "$nick, $result"
+  calc_smsg $chan "${nick}, ${result}"
   return 1
 }