Skip to content

Commit

Permalink
Minor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
interkosmos committed Oct 11, 2024
1 parent bdb782b commit 326d94e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/dmbot.f90
Original file line number Diff line number Diff line change
Expand Up @@ -289,13 +289,13 @@ function bot_reply_poke(bot_name) result(reply)
character(len=*), intent(in), optional :: bot_name
character(len=:), allocatable :: reply

if (.not. dm_string_is_present(bot_name)) then
if (dm_string_is_present(bot_name)) then
reply = trim(bot_name)
else
reply = APP_NAME
end if

reply = reply // ' is awake'
reply = reply // ' is online'
end function bot_reply_poke

function bot_reply_uptime() result(reply)
Expand Down

0 comments on commit 326d94e

Please sign in to comment.