Ticket #40 (closed defect: fixed)

Opened 6 years ago

Last modified 4 years ago

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:1 Changed 5 years ago by bmotion

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]

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"

comment:3 Changed 5 years ago by james

  • Milestone set to 0.1.0

comment:4 Changed 5 years ago by james

  • Priority changed from trivial to major
  • Status changed from new to assigned
  • Description modified (diff)

comment:5 Changed 4 years ago by james

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.