From 3236a0e97361764064781aba15b19c3468c34287 Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Wed, 1 Nov 2017 12:06:23 +0000 Subject: [PATCH] fix ltc overriding btc method --- dave/modules/cryptocurrency.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dave/modules/cryptocurrency.py b/dave/modules/cryptocurrency.py index 44cadc4..af9b989 100644 --- a/dave/modules/cryptocurrency.py +++ b/dave/modules/cryptocurrency.py @@ -20,7 +20,7 @@ def btc(bot, args, sender, source): @dave.module.help("Syntax: ltc. Get the current LTC prices from preev.") @dave.module.command(["ltc"], '?([a-zA-Z]*)?') -def btc(bot, args, sender, source): +def ltc(bot, args, sender, source): crypto(bot, ['ltc', args[0]], sender, source) @dave.module.help("Syntax: crypto [btc/ltc/etc] (usd/gbp/btc/etc). Get current prices " -- libgit2 1.7.2