Changeset 14212 for trunk


Ignore:
Timestamp:
06/22/12 10:06:36 (12 years ago)
Author:
tbretz
Message:
Added a possibility to send a chat-message.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/StateMachineDimControl.cc

    r14132 r14212  
    480480        {
    481481            Error("--start, --batch, --stop are mutually exclusive to --server.");
    482             return 2;
     482            return 3;
    483483        }
    484484        return -1;
     
    488488    {
    489489        Error("--start, --batch and --stop are all mutually exclusive.");
    490         return 1;
     490        return 4;
    491491    }
    492492
     
    500500        return Dim::SendCommand("DIM_CONTROL/EXECUTE", conf.Get<string>("batch")+" user="+fUser) + 1;
    501501
     502    if (conf.Has("msg"))
     503        return Dim::SendCommand("CHAT/MSG", fUser+": "+conf.Get<string>("msg")) + 1;
     504
    502505    return -1;
    503506}
Note: See TracChangeset for help on using the changeset viewer.