Skip to content

Commit c692025

Browse files
committed
Quick fix for get proc name template on Nim devel, closes #60
1 parent 3ee7311 commit c692025

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/telebot/private/utils.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ template procName*: string =
1414
var internalProcName {.exportc, inject.}: cstring
1515
{.emit: "`internalProcName` = __func__;".}
1616
var realProcName {.inject.}: string
17-
discard parseUntil($internalProcName, realProcName, "Iter__")
17+
discard parseUntil($internalProcName, realProcName, "Iter_")
1818
realProcName
1919

2020
template hasCommand*(update: Update, username: string): bool =

telebot.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "1.0.7"
1+
version = "1.0.8"
22
author = "Huy Doan"
33
description = "Async Telegram Bot API Client"
44
license = "MIT"

0 commit comments

Comments
 (0)