- if (target_type == TYPE_USER)
- {
- userrec* t = (userrec*)dest;
- active = t->IsModeSet('G');
- }
- else if (target_type == TYPE_CHANNEL)
- {
- chanrec* t = (chanrec*)dest;
- active = t->IsModeSet('G');
- }
-
- if (active)
- {
- this->ReplaceLine(text2,index->first,index->second);
- text = text2.c_str();
- }