Ticket #40 (closed defect: fixed)
friendship plugin failing
| Reported by: | fearnodelusion@… | Owned by: | james |
|---|---|---|---|
| Priority: | major | Milestone: | 0.1.0 |
| Component: | plugins | Version: | 0.0.9 |
| Keywords: | Cc: |
Description (last modified by james) (diff)
[04:20:49] <c0mpact_> .bmotion friends show -all [04:20:49] <falcon> [10:21] bMotion: ALERT! Callback failed for !bmotion: bMotion_plugin_management_friends: No such user. [04:20:49] <falcon> [10:21] Tcl error [bMotion_dcc_command]: invalid command name "bMotion_plugin_find_admin" '''[04:21:05] <falcon> [10:21] bMotion: ALERT! Callback failed for !bmotion: bMotion_plugin_management_friends: No such user.''' [04:21:22] <c0mpact_> .bmotion friendship show -all [04:21:22] <falcon> [10:21] bMotion: ALERT! Callback failed for !bmotion: bMotion_plugin_management_friends: No such user. [04:21:22] <falcon> [10:21] Tcl error [bMotion_dcc_command]: invalid command name "bMotion_plugin_find_admin"
The bolded event (at 04:21:05) was the attempted issue of the command in the channel.
Change History
comment:2 Changed 5 years ago by bmotion
Also, the help for the friends command states to use "-all" to list all friends, but the actual command is checking for "all"
Note: See
TracTickets for help on using
tickets.

In admin_friendship.tcl, change:
if [regexp -nocase {show (.+)} $arg matches cmd nick] {
to
if [regexp -nocase {show (.+)} $arg matches nick] {
In system.tcl, proc bMotion_dcc_command, change:
set info [bMotion_plugin_find_admin $arg $bMotionInfo(language)]
to
set info [bMotion_plugin_find_management $arg]