almost the same registerActionHandler

  • Hello,

    I'm using two modules to create channel response

    it seems that if I have the registerActionIds equals but the functions... only the first function is taken in account.



    Is there a solution?

    Or is it a bug?

    • Mirco Bauer
      Mirco Bauer

      known limitation, but you can hack the SmartIRC.php lib to further process matched action handlers.

    • You could always do the parsing within the function itself to determine which function to use.

      Simply you could have the action handler call whichop() which checks the channel or user status and then calls op_function_1 or op_function_2.